Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-100062

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.9
    • None
    • OS: Windows 10,
      Java version: Version 8, Update 51 (build 1.8.0_51-b16)
    • Unconfirmed

      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'). /\

            Unassigned Unassigned
            farlige_frikk Frikk o.larsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: