fz-survival-datapack/data/fzsd/functions/module/sweeper/install.mcfunction
2023-01-08 07:59:55 +08:00

8 lines
360 B
Mcfunction

bossbar add fzsd:sweeper ""
bossbar set fzsd:sweeper max 60
## 标记为已安装
data modify storage fzsd:install fzsd.module.sweeper set value 1b
## 日志
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:扫地机"}]