game_start.mcfunction 1.1 KB

1234567891011121314151617
  1. # HUD
  2. execute if score $mini_type mem matches 1 run scoreboard objectives setdisplay sidebar total_score
  3. execute if score $mini_type mem matches 1 run scoreboard objectives setdisplay belowName total_score
  4. execute if score $mini_type mem matches 2 run scoreboard objectives setdisplay sidebar total_score
  5. execute if score $mini_type mem matches 2 run scoreboard objectives setdisplay belowName total_score
  6. execute if score $mini_type mem matches 3 run scoreboard objectives setdisplay sidebar mini_heart
  7. execute if score $mini_type mem matches 3 run scoreboard objectives setdisplay belowName mini_heart
  8. execute if score $mini_type mem matches 4 run scoreboard objectives setdisplay sidebar mini_heart
  9. execute if score $mini_type mem matches 4 run scoreboard objectives setdisplay belowName mini_heart
  10. scoreboard objectives setdisplay list total_score
  11. # 调用其他模块
  12. execute if score $mini_type mem matches 2 run function mini:tntrun/game_start
  13. execute if score $mini_type mem matches 3 run function mini:hotpm/game_start
  14. execute if score $mini_type mem matches 4 run function mini:colormatch/game_start