11 lines
636 B
Mcfunction
11 lines
636 B
Mcfunction
# 调用者:#fz:module/scoreboard/load
|
|
|
|
## 异常检测
|
|
execute if data storage fz:storage module.scoreboard{installed: 1b} run tellraw @a [{"nbt": "exception.load_without_install_exception", "interpret": true, "storage": "fz:logger"}, {"text": "计分板"}]
|
|
execute unless data storage fz:storage module.scoreboard.installed run tellraw @a [{"nbt": "exception.load_without_install_exception", "interpret": true, "storage": "fz:logger"}, {"text": "计分板"}]
|
|
|
|
## 设置显示颜色
|
|
function #fz:module/scoreboard/display/set_all_colors
|
|
|
|
## 开启轮播循环
|
|
function #fz:module/scoreboard/display/carousel_controller/loop |