game_init.mcfunction 393 B

12345678
  1. # 小游戏初始化
  2. execute if score $mini_type mem matches 1 run function mini:parkour/game_init
  3. execute if score $mini_type mem matches 2 run function mini:tntrun/game_init
  4. execute if score $mini_type mem matches 3 run function mini:hotpm/game_init
  5. execute if score $mini_type mem matches 4 run function mini:colormatch/game_init
  6. # 计分板初始化
  7. scoreboard players reset * mini_score