Mojira Archive
MC-100062

Arrows looses their custom names when they are shot from a bow

Put the summary of the bug you're having here
I was playing around with a portal system that I've made when i wanted to improve it. I tried to make the system only respond to arrows with a certain name ("Ammo").
What I expected to happen was...:
The command blocks would recognize the arrow as '@e[name=Ammo]'

I tried to kill entities like so: '/kill @e[name=Ammo]' but the arrows had changed names from 'Ammo' to 'Arrow' when they were shot.

I also tried to use the execute command to summon entities nearby the arrows with names like so: '/execute @e[name=Ammo] ~ ~ ~ summon ArmorStand ~ ~ ~

{NoAI:1,CustomName:"Test",CustomNameVisible:1,NoGravity:1}


What actually happened was...:
Describe what happened here
There was no response from either the execute command or the kill command. I ended up by killing them via the '/kill @e[type=Arrow]' command.
Steps to Reproduce:
1. Put an arrow in an anvil
2. Rename it to whatever you want
3. Try killing it via that name (e.g. '/kill @e[name=test]')
4. /\ Proof that the arrows loose their names whilst mid-air (If you pick the arrow up after it has hit the ground, the name is .Arrow'). /\

Invalid

Frikk o.larsen

2016-03-25, 02:15 PM

2016-03-25, 06:27 PM

2016-03-25, 03:02 PM

0

2

Unconfirmed

Minecraft 1.9

-