fz-survival-datapack/data/fz/functions/event/init.mcfunction

4 lines
283 B
Mcfunction

scoreboard objectives add fz.event.leave_game minecraft.custom:leave_game
## 调试
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已初始化系统组件:事件"}]