fz-survival-datapack/data/fzsd/functions/module/interactor/event/on_click.mcfunction

7 lines
375 B
Mcfunction
Raw Normal View History

## 运行事件
function #fzsd:module/interactor/event/on_click
## 触发器分数为正数时重新显示交互器按钮,为负数时不显示
execute if score @s fzsd.module.interactor.trigger matches 1.. run function #fzsd:module/interactor/display
function #fzsd:module/interactor/reset_trigger
## 重置进度
advancement revoke @s only fzsd:module/interactor/on_click