game_end.mcfunction 367 B

12345678910
  1. # 游戏结束
  2. forceload remove 1000 6000 1064 6064
  3. gamerule doDaylightCycle false
  4. # 计算得分
  5. execute as @a[team=playing] run scoreboard players operation @s mini_score = @s kill_phantom
  6. # 清理锁定格子
  7. execute as @a[team=!debugging] run function item:disable_slot/disable_slot_7
  8. execute as @a[team=!debugging] run function item:disable_slot/disable_slot_8