fz-survival-datapack/data/fz/functions/game_event/advancement/on_fished.mcfunction

10 lines
411 B
Mcfunction
Raw Normal View History

# 调用者advancements/fz:~
## 调试
execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "钓鱼上钩"}]
## 运行事件
function #fz:game_event/player/on_fished
## 重置事件进度
advancement revoke @s only fz:game_event/on_fished