fz-survival-datapack/data/fz/functions/sweeper/bossbar.mcfunction

4 lines
361 B
Mcfunction
Raw Normal View History

2021-07-03 18:55:08 +08:00
bossbar set fz.sweeper name [{"score": {"name": "sweeperBossbar","objective": "parameter"},"color": "#ff6100","underlined": true,"bold": true},{"text": "秒后清理垃圾","color": "#ffd900","bold": false}]
bossbar set fz.sweeper players @a[tag=!fz.sweeperBossbarOff]
scoreboard players remove sweeperBossbar parameter 1
schedule function fz:sweeper/bossbar 1s