tick5.mcfunction 545 B

123456789
  1. # 倒计时(后续为 0~5,即 1.5s 一轮)
  2. execute unless score $countdown_tempo mem matches 1.. run scoreboard players set $countdown_tempo mem 6
  3. execute if score $countdown_tempo mem matches 1.. run scoreboard players remove $countdown_tempo mem 1
  4. # 触发与音效
  5. execute if score $countdown_tempo mem matches 0 run function lib:tempo_block/block_exchange
  6. execute if score $countdown_tempo mem matches 2 run function lib:tempo_block/tempo_sound
  7. execute if score $countdown_tempo mem matches 4 run function lib:tempo_block/tempo_sound