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

7 lines
361 B
Mcfunction
Raw Normal View History

# 调用者fz:game_event/player/on_used_tool
## 调试
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_broke_block