mojira.dev
MC-50823

Arrows lose their dataTag info once shot from a bow

When shooting an arrow that has been renamed in the anvil or by command block using /summon, the dataTag info associated with the arrow is lost.

Procedure to reproduce:

1-Rename arrows in an anvil ie:"MyArrow"
2-Shoot the arrow with a bow
3-Retrieve the arrow and it will have lost its name.

Also effects /testfor, /scoreboard, and /execute.

An aside:{Possible uses: Ammo types, Team Ammo, Adventure map, mob enhancements....etc}

Related issues

Comments

migrated

This also seams to effect Snowballs once thrown.

enderbolt

Once an arrow is shot, it is converted from an inventory item to an entity. The data is either unable to be stored in an entity (which is unlikely, since you can rename other entities like sheep), lost in the conversion to the entity, or lost in the conversion back to an item when picked up. It does look fairly fixable though.

migrated

I realize that its converted; I just expected it to maintain a consistent dataTag... hope its fixable too 😃

megascience

The issue is that currently it would just be going "Make this become that." and not "Use this to become that." They'd have to make it read the data of what is being used and apply it, which should be relatively simple. Although then you have other layers... But definitely fixable.

migrated

(Unassigned)

Unconfirmed

Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c

Retrieved