Mojira Archive
MC-149759

Cannot fully revert renaming of item

When you use an anvil to rename an item, the item receives a RepairCost tag even when it cannot be enchanted or repaired. Upon reverting the custom name on an anvil, the item retains the RepairCost tag, preventing otherwise stackable items from stacking with other non-renamed items of the same type.

How to reproduce:

  1. Rename a stackable item, e.g. an Egg, on an anvil, e.g. to "Renamed".
  2. It is now NBT tagged with:
    1. RepairCost: 0
    2. {display: {Name: '{"text":"Renamed"}'}
  1. Put the renamed item onto an anvil and delete its custom name, reverting its name to be "Egg".
    • Note: You will encounter MC-149761 when doing this.
  2. It retains the RepairCost tag, preventing it from stacking with other Egg items.

For many items there exist workarounds: Blocks can be placed and destroyed, dropping a non-tagged item, and some items can be crafted into other forms from which the item can be re-crafted (e.g. iron -> iron block -> iron). Still it is a nuisance.

Duplicate

Philip Børgesen

2019-04-26, 07:58 AM

2020-05-07, 08:08 PM

2020-05-07, 08:08 PM

2

0

Confirmed

(Unassigned)

Minecraft 1.12.2 - 20w18aMinecraft 1.12.2, Minecraft 18w06a, Minecraft 18w08a, Minecraft 18w11a, Minecraft 18w21b, Minecraft 18w22c, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 1.13.1-pre2, Minecraft 1.14, 1.15.2, 20w11a, 20w18a

-