game_init.mcfunction 620 B

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