LTCatt 6 سال پیش
والد
کامیت
4dac882e40
2فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 1 4
      data/mini/functions/phantom/game/summon.mcfunction
  2. 5 0
      data/mini/functions/phantom/game/summon2.mcfunction

+ 1 - 4
data/mini/functions/phantom/game/summon.mcfunction

@@ -1,7 +1,4 @@
 # 召唤幻翼
 
 summon phantom 1030 255 6030 {Tags:["new_phantom"]}
-spreadplayers 1030 6030 20 20 false @e[tag=new_phantom]
-execute as @e[tag=new_phantom] at @s run tp @s ~ 35 ~
-attribute @e[tag=new_phantom,limit=1] generic.max_health base set 8
-tag @e[tag=new_phantom] remove new_phantom
+schedule function mini:phantom/game/summon2 1t replace

+ 5 - 0
data/mini/functions/phantom/game/summon2.mcfunction

@@ -0,0 +1,5 @@
+
+spreadplayers 1030 6030 20 20 false @e[tag=new_phantom]
+execute as @e[tag=new_phantom] at @s run tp @s ~ 35 ~
+attribute @e[tag=new_phantom,limit=1] generic.max_health base set 8
+tag @e[tag=new_phantom] remove new_phantom