mojira.dev
MC-91007

Some items lose their name/data tags when used in the world

The bug

In some cases items lose their data after they have been used in the world, e.g. by interacting with entities, see the lists below.

Possible without changes

The game already has the functionality (e.g. NBT tags) required to solve these, but is not using it.

  • Buckets turning into other types of buckets, by player or dispenser - Consider the implications on adventure mode and re-using buckets (MC-48252)

  • Bowls filled from red and brown mooshrooms

  • Glass bottles being filled

  • Potions/water bottles and bowls after being consumed

  • Potions/water bottles after being brewed

  • Item given to panda by right clicking it

  • MC-114461: Lava bucket emptied / water bucket filled in furnace

  • MC-191591: Saddling horse

Requires changes

Changes (e.g. addition of NBT tags) are required to support these cases.

  • Leads after leashing an entity

  • Saddling pig / strider

  • MC-209: Placing blocks

  • MC-1981: Shot arrows

Linked issues

MC-272840 Items that change into other Items do not keep Enchantments Resolved MC-228690 Renamed buckets will be unnamed when placed down Resolved MC-173098 renamed bucket loses it's name after using it Resolved MC-169359 Water bucket's custom name disappears after using it Resolved MC-2194 Anvil naming system - Buckets not keeping their names Resolved

Attachments

Comments 28

This is a dupe of MC-1981. Someone changed the title to make it misleading. Its not just arrows.

That someone was me. See the /r/Mojira discussion linked in MC-1981.

in fact, the bucket also looses all other nbt (CanPlaceOn for example), same with bottles/potions, don't know about bowls

confirmed for 15w45a

18 more comments

Can confirm in 1.18.2 and 22w12a.

Can confirm in 1.19.

Can confiirm in 1.19.2

Can confirm in 1.19.3

Saddling pig / strider can save saddle data from 25w03a. By using "equipment.saddle" to store item data instead of using boolean "Saddle".

[Mod] redstonehelper

(Unassigned)

Confirmed

Platform

Low

Items

Minecraft 1.8.8, Minecraft 15w42a, Minecraft 15w45a, Minecraft 16w04a, Minecraft 16w36a, ..., 1.20.1, 1.20.3 Release Candidate 1, 1.20.4, 24w03a, 1.21 Pre-Release 2

Retrieved