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

Related issues

MC-2194 Anvil naming system - Buckets not keeping their names MC-3579 Buckets, when named and used, will lose the name given. MC-6492 Renaming a bucket then filling it removes the name. MC-17083 Retrieved lead doesn't keep name MC-48252 water/lava cannot be removed in adventuremode MC-96240 Buckets and bottles lose their data tags when used to pick up liquid. MC-138892 Buckets do not maintain their CustomModelData status when placing/picking up liquids MC-150871 If you change the name of a Lead and hook it to an entity, the changed name of the Lead changes back to "Lead" MC-169359 Water bucket's custom name disappears after using it MC-173098 renamed bucket loses it's name after using it MC-228690 Renamed buckets will be unnamed when placed down MC-272840 Items that change into other Items do not keep Enchantments

Attachments

Comments

migrated
[media]
migrated

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

migrated

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

migrated

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

marcono1234
migrated

confirmed for 15w45a

marcono1234

Please include for buckets being used by dispensers because this is done in a different method

migrated

Buckets turning into other types of buckets

This means any way to turn buckets into other buckets.

marcono1234

Hopefully they do not overlook it

migrated

Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.

This is an automated comment on any open or reopened issue with out-of-date affected versions.

migrated

This appears to now be an issue in 18w11a. Renamed buckets/filled buckets lose names and any associated data tags when used.

CreeperMagnet_

Affects 18w44a with buckets/lava buckets, and most things with CustomModelData, etc.

migrated

This is still an issue in 19w44a. Renamed buckets and water bottles lose their name when emptied or filled.

pulpetti

Affects 1.16.1 and 20w29a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w07a.

Avoma

I've attached an example video.

Avoma

Can confirm in 1.16.5 and 21w08b.

Avoma

Can confirm in 21w11a.

Avoma

Can confirm in 21w15a.

KirbAvion

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2 and 22w12a.

Avoma

Can confirm in 1.19.

NBG-bootmgr

Can confiirm in 1.19.2

Brain81505

Can confirm in 1.19.3

wplxfore

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

migrated

(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