The bug
Arrows lose their name and NBT data when shot and picked up.
How to reproduce
Obtain a bow and give yourself an arrow with a custom name:
/give @s minecraft:arrow{display:{Name:'{"text":"MC-1981"}'}}
Shoot the arrow on the ground using the bow
Pick up the arrow
❌ The arrow no longer has a custom name
Expected behavior
Arrows would not lose their NBT data when shot and picked up.
Note
Other issues previously tracked in this ticket are now reported in MC-91005, MC-91006 and MC-91007. See this discussion for details.
Related issues
is duplicated by
relates to
Attachments
Comments


same for boats and minecarts

I think this works as intended. As annoying as it is, entities are not currently capable of retaining information from their item state.

Well I imagine it could work just like spawn eggs do, actually it would be pretty cool if boats displayed their names like mobs do.

Minecarts have been fixed, but arrows from a dispenser, etc. haven't.

Confirmed for 08a

Confirmed 14w10a,b,c
Arrows shot from bows, snowballs thrown at friends...

Command blocks are affected as well. They retain their NBT data but their name gets replace by [@]

At least cakes have been fixed in 1.8.

This happens for banners as well. It happens in 1.8.1. Maybe it's intended. But, please, make sure the names (given by using the anvil) are saved even after you have placed the banner in the world.

also happens to saddles on pigs(annoying when you get the achievement via a named saddle)

the tipped arrows work for this in 15w31a, yet normal arrows don't

Confirmed for
15w44b as the entity
TippedArrow
does not longer exist (arrows have now only the tagPotion
) they are also affected

So basically all arrows are now affected?

Yes

Confirmed for 1.10.

Confirmed for 1.10.1.

Confirmed for 1.10.2

Confirmed for 1.12-pre5

I named some arrows Bullet and picked them up. They were named "Arrow." That was in a snap shot for 1.8.

Currently only version 1.12 is supported. 1.8 snapshots are almost 3 years old, you should really update! What do you even use to start these? They are not in the regular launcher.
Can confirm for MC 1.12.1.

Affects 1.13.1

Affects 1.14.1

Affects 20W12A

Affects 1.16.1

Affects 20w27a

@unknown It's usually not very useful to confirm something for every past snapshot, only for the current one and the latest release. If you want, you can check which version introduced a bug, but I don't know if Mojang looks at that.
You can also look at this list and the reply to it if you want to do more: https://www.reddit.com/r/Mojira/comments/gr54ik/mojira_ama/fww0akd/

Affects 20w29a
Can confirm in 20w48a.
Can confirm in 20w49a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w05b.

Can confirm in 21w06a
Can confirm in 21w07a. Video attached.
Can confirm in 21w11a.
Can confirm in 1.16.5 and 21w14a.
Can confirm in 21w15a.
Can confirm in 21w17a.
Can confirm in 1.17.

Can confirm in 1.17.1.
Can confirm this in 21w44a. Here are some extra details regarding this problem.
The Bug:
Arrows lose their NBT data when shot and picked up.
Steps to Reproduce:
Obtain a bow and give yourself an arrow with a custom name.
/give @s minecraft:arrow{display:{Name:'{"text":"MC-1981"}'}}
Shoot the arrow on the ground using the bow.
Pick up the arrow and take note as to whether or not it retains its custom name.
Observed Behavior:
Arrows lose their NBT data when shot and picked up.
Expected Behavior:
Arrows would not lose their NBT data when shot and picked up.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.1.
Can confirm in 1.19.2.

Can confirm in 23w04a

Can confirm in 23w05a

Can confirm in 23w06a

Affects 1.20.1.