mojira.dev
MC-77265

Please make "/kill @e[type=Arrow] (InPlayer=true)" work!

When you use this command, you can kill the arrow everywhere else but the arrows on the players, which does not make sense at all. Why can't the arrow in the player also get cleared when you use the command? I mean, they should be the same kind of arrow right? Just because the arrow stuck in a player's body doesn't it mean that the arrow has changed its form or anything, am I right? Would you guys please think about it and do something with it?

Comments 7

That would be like saying the arrows stuck in the ground fired by a player vs ones fired by a monster are the same. But yet one you can pick up and the other you cant.

@Sycholic

That's completely different. Rufus's complaint is that arrows in players aren't entities at all.

Sorry for the poor analogy, it was early and didnt want to dig more as to why but this is the reason.... but here is the answer

.... arrows stuck in a player are not an 'arrow' anymore but purely visual part of 'living entity'.
reference:
https://bukkit.org/threads/remove-arrows-that-are-stuck-in-players.340290/
http://wiki.vg/Entities#Living_Entity

(apparently still too early... . )

Well, I'm agree with you guys, but what I really meant was that if there is a command which is able to control the arrow that is stuck in the player, which is something like "/kill @e[type=Arrow] (InPlayer=true)". Because my main issue with them arrows is, that if a player who has invisibillity and got arrows stuck in his body, then other players would see him and kill him easly, but I just dont want it happen in my map.

Sadly, there is currently no way to do this in vanilla. Also, the resolution should be WAI, not Invalid.

Well, this is actually a bug, if players get arrows stuck in them but a zombie or a skeleton doesn't. Can't you see what the problem is? You could either make stuck arrows both in mobs and the players, but only one of these types gets stuck arrows is weird, it is also a bug in somehow, believe or not. I see it as a bug, and I know you guys could fix it. Or you are just too lazy to fix it?

this report is not about that......

RufusGameplay

(Unassigned)

Unconfirmed

Minecraft 1.8.1

Retrieved