game_end.mcfunction 333 B

1234567891011121314
  1. # 游戏结束
  2. forceload remove 1000 5000 1064 5064
  3. # Gamerule 调整
  4. gamerule doDaylightCycle false
  5. gamerule doLimitedCrafting true
  6. gamerule keepInventory true
  7. gamerule doTileDrops false
  8. # 计算得分
  9. execute as @a[team=playing] run scoreboard players operation @s mini_score += @s diamond
  10. # 世界边界
  11. worldborder set 1000000