fz-survival-datapack/data/fzsd/functions/module/sweeper/pre_loop.mcfunction
2023-12-09 09:19:14 +08:00

6 lines
371 B
Mcfunction

# 获取间隔时间
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