aqupa 5 年之前
父節點
當前提交
e9840e7a88
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      data/mini/functions/main/kill_remaining_entity.mcfunction

+ 1 - 0
data/mini/functions/main/kill_remaining_entity.mcfunction

@@ -5,4 +5,5 @@ scoreboard players operation @e[type=!player,scores={round_id=0}] round_id = $ r
 scoreboard players set item_test mem 0
 execute as @e[type=!player] unless score @s round_id = $ round_id run scoreboard players add item_test mem 1
 execute as @e[type=!player] unless score @s round_id = $ round_id run tp @s ~ ~-1000 ~
+execute as @e[type=!player] unless score @s round_id = $ round_id run kill @s
 execute if score item_test mem matches 1.. run tellraw @a ["清理了",{"score":{"name": "item_test","objective": "mem"}},"个实体"]