mojira.dev
MC-271869

Mending repairs a random armor piece instead of the lowest durability armor piece

When mending multiple armor pieces simultaniously (by wearing all four pieces), mending fails to correctly prioritize the lowest durability piece, and instead selects which item is repaired randomly for each experience orb collected.

This causes armor mending in PvP (using bottle o' enchanting) to be luck-based if the user does not intentionally take off the pieces of armor that have less durability damage.

Attachments

Comments 5

Was this ever the case?

This has been present for a while but was never reported, it is not new to 1.20.6.

This seems to be working as intended. I looked into this a while ago, and the process on the Minecraft wiki describing the current behavior seems to line up perfectly with what appears to be intended looking at the code.

Reverted title change, as the new one is incorrect as this issue only affects worn armor.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

SeaOfPixels

(Unassigned)

Confirmed

(Unassigned)

1.20.6, 24w19b, 24w20a

Retrieved