Jelajahi Sumber

Merge branch 'master' of github.com:LTCatt/LTW3

HerobrineXia 6 tahun lalu
induk
melakukan
f964798704

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

@@ -2,8 +2,4 @@
 
 summon phantom 1030 255 6030 {Tags:["new_phantom"]}
 spreadplayers 1030 6030 20 20 false @e[tag=new_phantom]
-tp @e[tag=new_phantom] ~ 35 ~
-attribute @e[tag=new_phantom,limit=1] generic.max_health base set 8
-tag @e[tag=new_phantom] remove new_phantom
-
-say generate
+schedule function mini:phantom/game/summon2 1t replace

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

@@ -0,0 +1,4 @@
+
+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

+ 0 - 1
data/mini/functions/phantom/game/try_summon.mcfunction

@@ -7,5 +7,4 @@ scoreboard players operation #count mem += #count mem
 scoreboard players operation #count mem += #count mem
 execute as @e[tag=phantom] run scoreboard players remove #count mem 1
 
-say try generate
 execute if score #count mem matches 1.. run function mini:phantom/game/summon