tick20.mcfunction 815 B

12345678910
  1. # 尝试进行倒计时
  2. execute if score $countdown mem matches 1.. if score $game_type mem matches 0 run function ltw:state/0/try_start_classic
  3. execute if score $countdown mem matches 1.. if score $game_type mem matches 1 run function ltw:state/0/try_start_gameparty
  4. # 显示倒计时,播放音效
  5. execute if score $countdown mem matches 1.. run title @a times 3 14 2
  6. execute if score $countdown mem matches 1.. run title @a subtitle {"score":{"name":"$countdown","objective":"mem"}}
  7. execute if score $countdown mem matches 1.. if score $game_type mem matches 0 run title @a title ["经典模式"]
  8. execute if score $countdown mem matches 1.. if score $game_type mem matches 1 run title @a title ["小游戏模式"]
  9. execute if score $countdown mem matches 1.. run execute as @a at @s run function lib:sounds/hit2