fz-survival-datapack/data/fz/functions/game_event/player/on_used_tool.mcfunction

5 lines
309 B
Mcfunction

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