LTCatt 5 tahun lalu
induk
melakukan
5e7808e1b9

+ 3 - 0
data/mini/functions/diamond/game_end.mcfunction

@@ -10,5 +10,8 @@ gamerule doTileDrops false
 # 计算得分
 execute as @a[team=playing] run scoreboard players operation @s mini_score += @s diamond
 
+# 清理物品栏
+clear @a[team=playing]
+
 # 世界边界
 worldborder set 1000000

+ 1 - 1
data/mini/functions/diamond/player_death.mcfunction

@@ -12,4 +12,4 @@ effect give @s slowness 3 3 true
 effect give @s blindness 3 0 true
 
 # 传送玩家
-spreadplayers 1010 5010 6 8 under 245 false @s[team=playing,tag=!rejoining]
+spreadplayers 1010 5010 6 8 under 246 false @s[team=playing,tag=!rejoining]

+ 1 - 1
data/mini/functions/diamond/player_enter.mcfunction

@@ -8,7 +8,7 @@ effect clear @s
 effect give @s saturation 1000000 0 true
 effect give @s haste 1000000 1 true
 gamerule naturalRegeneration false
-spreadplayers 1010 5010 6 8 under 245 false @s[team=playing,tag=!rejoining]
+spreadplayers 1010 5010 6 8 under 246 false @s[team=playing,tag=!rejoining]
 
 # 设置玩家生命
 attribute @s generic.max_health base set 20