Рет қаралды 6,079
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^1 ^ ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^ ^1 ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^-1 ^ ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^ ^-1 ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^1 ^1 ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^-1 ^1 ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^1 ^-1 ^ {Tags:["done"]}
execute as @e[type=arrow,tag=!done] at @s run summon arrow ^-1 ^-1 ^ {Tags:["done"]}
execute as @e[tag=done] at @s run data modify entity @s Motion set from entity @e[type=minecraft:arrow,tag=!done,sort=nearest,limit=1] Motion
execute as @e[type=arrow] run data merge entity @s {Tags:["done"]}
execute as @e[tag=done,nbt={inGround:1b}] run kill @s