fz-survival-datapack/data/fz/functions/module/config/loop.mcfunction

8 lines
353 B
Mcfunction
Raw Normal View History

2022-06-23 21:10:09 +08:00
# 调用者fz:module/config/trigger
## 如果分数大于0说明玩家点击了按钮
execute as @a if score @s fz.module.config.trigger matches 1.. run function #fz:module/config/on_click
2022-06-27 18:18:41 +08:00
execute as @a if score @s fz.module.config.trigger matches 1.. run function #fz:module/config/reset_trigger
2022-06-23 21:10:09 +08:00
2022-06-27 18:18:41 +08:00
schedule function fz:module/config/loop 1t replace