-
Bug
-
Resolution: Won't Fix
-
None
-
1.21
-
None
-
Community Consensus
-
Creative
-
UI
The durability of equipped armor enchanted with Mending does not get updated in creative mode if the inventory is open while collecting XP, unless the opened tab is "Survival Inventory", until the world is reloaded.
Steps to reproduce:
- Get a piece of damaged armor enchanted with Mending and equip it in creative mode:
/give @s netherite_chestplate[damage=592,enchantments={mending:1}]
- Fly up and throw some Bottles o' Enchanting down
- Quit flying and open your inventory, select a tab other than "Survival Inventory"
- After you have finished collecting the XP orbs, check the damaged armor's durability
- Reload the world
- Check the damaged armor's durability
Observed result:
The armor stays at 0 durability until the world is reloaded.
Expected result:
The armor is repaired before the world is reloaded.
Notes:
/data get entity @s Inventory shows the correct amount of durability the armor has, however unequipping that piece of armor resets the durability to what it was before.
- relates to
-
MC-152526 The durability of items enchanted with mending that are held in the offhand or worn in armor slots don't get updated when a GUI is open
- Open