Files
zombiiattack-datapack/data/protect_villagers/functions/wave/progress/wave_4.mcfunction
T
Darto KLoning 0a22196ea6 Initial import
2026-06-20 20:58:13 +07:00

7 lines
449 B
MCFunction

bossbar set protect_villagers:wave visible true
scoreboard players operation #bar pv_wave_bar = #time daytime
scoreboard players remove #bar pv_wave_bar 23000
execute if score #bar pv_wave_bar matches ..0 run scoreboard players set #bar pv_wave_bar 0
execute if score #bar pv_wave_bar matches 917.. run scoreboard players set #bar pv_wave_bar 917
execute store result bossbar protect_villagers:wave value run scoreboard players get #bar pv_wave_bar