fz-survival-datapack/data/fzsd/functions/module/sweeper/pre_loop.mcfunction

6 lines
371 B
Mcfunction
Raw Normal View History

2023-01-08 07:59:55 +08:00
# 获取间隔时间
scoreboard players set fzsd.sweeper.interval_time fzsd.variable.integer 3000
scoreboard players operation fzsd.sweeper.interval_time fzsd.variable.integer += @s fzsd.module.interactor.trigger
scoreboard players operation fzsd.sweeper.interval_time fzsd.variable.integer *= -1 fzsd.variable.integer
# 设为显示
bossbar set fzsd:sweeper visible true