check_game_end.mcfunction 328 B

123456
  1. # 检查游戏是否可以结束
  2. function mini:main/update_player_count
  3. execute if score $state mem matches 5 if score $finish_mode mem matches 1 if score $player_finish mem matches 3.. run function mini:main/game_end
  4. execute if score $state mem matches 5 if score $player_alive mem matches ..1 run function mini:main/game_end