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:
- Rename a stackable item, e.g. an Egg, on an anvil, e.g. to "Renamed".
- It is now NBT tagged with:
RepairCost: 0- {display: {Name: '{"text":"Renamed"}'}
- Put the renamed item onto an anvil and delete its custom name, reverting its name to be "Egg".
- Note: You will encounter
MC-149761when doing this.
- Note: You will encounter
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.
2019-04-26, 07:58 AM
2020-05-07, 08:08 PM
2020-05-07, 08:08 PM
2
0
-