change_classic.mcfunction 388 B

12345678
  1. # 切换为经典模式
  2. execute if score $game_type mem matches 1 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "经典模式","color":"aqua"}]
  3. scoreboard players set $game_type mem 0
  4. execute as @a at @s run function lib:sounds/teleport
  5. function ltw:state/0/refresh_game_type
  6. # 取消倒计时
  7. scoreboard players set $countdown mem 0