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

7 lines
351 B
Mcfunction

scoreboard objectives add fz.module.config.trigger trigger
## 标记为已安装
data modify storage fz:install_manager fz.module.config 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": "已安装组件:配置"}]