fz-survival-datapack/data/fzsd/functions/game_event/player/on_used_tool.mcfunction
2023-06-26 08:28:40 +08:00

5 lines
319 B
Mcfunction

## 调试
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "使用了工具"}]
## 运行事件
function #fzsd:game_event/player/on_used_tool