00ll00 6 年之前
父節點
當前提交
72cb3f8511

+ 1 - 2
data/item/functions/container/placed/call.mcfunction

@@ -3,5 +3,4 @@
 advancement revoke @s only item:container/place
 scoreboard players set #container.got mem 0
 scoreboard players set #container.dist mem 0
-execute at @s anchored eyes positioned ^ ^ ^1 run function item:container/placed/recu
-say placed
+execute at @s anchored eyes positioned ^ ^ ^1 run function item:container/placed/recu

+ 0 - 1
data/item/functions/container/placed/recu.mcfunction

@@ -7,5 +7,4 @@ execute if score #container.got mem matches 0 positioned ~ ~-1 ~ align xyz store
 execute if score #container.got mem matches 0 positioned ~ ~ ~1 align xyz store success score #container.got mem unless entity @e[tag=container,dx=0,dy=0,dz=0] if block ~ ~ ~ #item:container run summon minecraft:area_effect_cloud ~.5 ~ ~.5 {Age: -2147483648, Duration: -1, WaitTime: -2147483648, Tags: ["container"]}
 execute if score #container.got mem matches 0 positioned ~ ~ ~-1 align xyz store success score #container.got mem unless entity @e[tag=container,dx=0,dy=0,dz=0] if block ~ ~ ~ #item:container run summon minecraft:area_effect_cloud ~.5 ~ ~.5 {Age: -2147483648, Duration: -1, WaitTime: -2147483648, Tags: ["container"]}
 scoreboard players add #container.dist mem 1
-say 1
 execute if score #container.got mem matches 0 if score #container.dist mem matches ..4 positioned ^ ^ ^1 run function item:container/placed/recu