fz-survival-datapack/data/fzsd/function/module/interactor/uninstall.mcfunction
2024-06-16 11:01:54 +08:00

9 lines
404 B
Mcfunction

schedule clear fzsd:module/interactor/loop
scoreboard objectives remove fzsd.module.interactor.trigger
## 标记为已卸载
data modify storage fzsd:install fzsd.module.interactor set value 0b
## 日志
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载组件:配置"}]