Started by
QB
on
Topic category: Help with Minecraft modding (Java Edition)
So I wanted to make a katana that defect arrows shot by skeletons, the first idea that pops up on my mind is by doing ItemRightClicked, run command: /kill @e[type=arrow,r=4] but when I test it, the command does not kill the flying arrow entity of the skeleton, can you guys help me? Thanks a ton!
It'd be [type=arrow,distance=..4]. They removed the "r" thing in 1.13 (I think, some update around then), but you can do the same with the "distance" NBT and adding two periods ".." before the number.
Well, I'm still working on 1.12 (extremely outdated) but it still doesn't work for some reasons, thanks anyway, I'll try and figure out some other ways