Is there a way to kill flying arrow entity?

Started by QB on Sun, 10/11/2020 - 17:35

Topic category: Help with modding (Java Edition)

Last seen on 09:09, 23. Nov 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is there a way to kill flying arrow entity?
Sun, 10/11/2020 - 17:35

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! 

Last seen on 17:21, 28. Nov 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It'd be [type=arrow,distance…
Sun, 10/11/2020 - 21:04

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.

Last seen on 09:09, 23. Nov 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well, I'm still working on 1…
Mon, 10/12/2020 - 07:06

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