fz-survival-datapack/data/fz/functions/module/interactor/install.mcfunction

8 lines
420 B
Mcfunction
Raw Normal View History

2022-07-19 20:53:53 +08:00
scoreboard objectives add fz.module.interactor.trigger trigger
scoreboard objectives add fz.module.interactor.player.config dummy
## 标记为已安装
2022-07-19 20:53:53 +08:00
data modify storage fz:installed fz.module.interactor set value 1b
## 日志
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:配置"}]