Any ideas on how to cram this even more? (Minecraft Version 1.21.5 Java) It's just a spike setup Summon: /summon arrow ~.25 ~4.75 ~.75 {NoGravity:1b,NoAI:1b,Rotation:[0.0,90], CustomName: "arrow-1",Motion:[0.0,0.0,0.0],Tags:["stuck","permanent"]} CustomName goes up by 1 each time, arrow-2 would be the following. Extend : /execute at @e[type=arrow,name=arrow-1] run tp @e[type=arrow,name=arrow-1] ~ ~ ~.01 ~ ~ ~-.01 for retraction, besides that it's the same (arrow-1 goes up by 1 each time, arrow-2 would be the following) Damage : /execute at @e[type=arrow] run damage @e[type=!arrow,distance=..0.7,limit=1,sort=nearest] 2 minecraft:arrow (Also if anyone knows how to cancel knockback from a stationary arrow without playsound, can you please tweak this command)
Join our real-time social learning platform and learn together with your friends!