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

5 lines
319 B
Mcfunction
Raw Normal View History

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