2
0

state_enter.mcfunction 461 B

12345678910
  1. # 要求系统进入状态 7(选择奖励)
  2. scoreboard players set $state mem 7
  3. execute as @a run function ltw:state/7/player_enter
  4. # HUD
  5. scoreboard objectives setdisplay sidebar total_score
  6. # 判断进入下一轮小游戏或结束
  7. execute if score $game_type mem matches 1 if score $round mem matches ..2 run function ltw:state/7/continue_gameparty
  8. execute if score $game_type mem matches 1 if score $round mem matches 3.. run function ltw:main/game_end