-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 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
-
None
-
Confirmed
-
(Unassigned)
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.
- duplicates
-
MC-125046 "RepairCost" NBT tag is created on any renamed item using anvils which can cause items to not stack properly
- Resolved