game_init.mcfunction 778 B

123456789101112131415
  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:phantom/game_init
  11. execute if score $mini_type mem matches 201 run function mini:ass/game_init
  12. execute if score $mini_type mem matches 101 run function mini:diamond/game_init
  13. execute if score $mini_type mem matches 102 run function mini:trade/game_init