game_start.mcfunction 2.6 KB

1234567891011121314151617181920212223242526272829303132
  1. # HUD
  2. execute if score $mini_type mem matches 1 run scoreboard objectives setdisplay list total_score_disp
  3. execute if score $mini_type mem matches 1 run scoreboard objectives setdisplay belowName total_score_disp
  4. execute if score $mini_type mem matches 1 run scoreboard objectives setdisplay sidebar total_score
  5. execute if score $mini_type mem matches 2 run scoreboard objectives setdisplay list total_score_disp
  6. execute if score $mini_type mem matches 2 run scoreboard objectives setdisplay belowName total_score_disp
  7. execute if score $mini_type mem matches 2 run scoreboard objectives setdisplay sidebar total_score
  8. execute if score $mini_type mem matches 3 run scoreboard objectives setdisplay list mini_heart_disp
  9. execute if score $mini_type mem matches 3 run scoreboard objectives setdisplay belowName mini_heart
  10. execute if score $mini_type mem matches 3 run scoreboard objectives setdisplay sidebar total_score
  11. execute if score $mini_type mem matches 4 run scoreboard objectives setdisplay list mini_heart_disp
  12. execute if score $mini_type mem matches 4 run scoreboard objectives setdisplay belowName mini_heart
  13. execute if score $mini_type mem matches 4 run scoreboard objectives setdisplay sidebar total_score
  14. execute if score $mini_type mem matches 5 run scoreboard objectives setdisplay list health_disp
  15. execute if score $mini_type mem matches 5 run scoreboard objectives setdisplay belowName health_disp
  16. execute if score $mini_type mem matches 5 run scoreboard objectives setdisplay sidebar total_score
  17. execute if score $mini_type mem matches 6 run scoreboard objectives setdisplay list health_disp
  18. execute if score $mini_type mem matches 6 run scoreboard objectives setdisplay belowName health_disp
  19. execute if score $mini_type mem matches 6 run scoreboard objectives setdisplay sidebar kill_phantom
  20. execute if score $mini_type mem matches 7 run scoreboard objectives setdisplay list health_disp
  21. execute if score $mini_type mem matches 7 run scoreboard objectives setdisplay belowName total_score
  22. execute if score $mini_type mem matches 7 run scoreboard objectives setdisplay sidebar total_score
  23. # 调用其他模块
  24. execute if score $mini_type mem matches 1 run function mini:parkour/game_start
  25. execute if score $mini_type mem matches 2 run function mini:tntrun/game_start
  26. execute if score $mini_type mem matches 3 run function mini:hotpm/game_start
  27. execute if score $mini_type mem matches 4 run function mini:colormatch/game_start
  28. execute if score $mini_type mem matches 5 run function mini:zombie/game_start
  29. execute if score $mini_type mem matches 6 run function mini:phantom/game_start
  30. execute if score $mini_type mem matches 7 run function mini:slime/game_start