state_enter.mcfunction 385 B

12345678
  1. # 要求系统进入状态 5(小游戏进行中)
  2. scoreboard players set $state mem 5
  3. execute as @a run function ltw:state/5/player_enter
  4. # HUD
  5. execute if score $mini_type mem matches ..2 run scoreboard objectives setdisplay sidebar
  6. execute if score $mini_type mem matches 3 run scoreboard objectives setdisplay sidebar mini_heart
  7. scoreboard objectives setdisplay list total_score