mojira.dev
MC-154893

The enchanted tools with mending in hand are not repaired when you get XP

I could not repair my tools in my hand, using mending, the problem is that having the complete armor with mending, this did not let me repair enchanted things with mending in the main or secondary hand

Linked issues

Comments 2

Tested this issue because looked horrible for total experience towards 1.14.3, and mending's working as intended. Got a Diamond Chestplate worned out'nd then enchanted it with mending; after gathering some experience orbs it started repairing perfectly.

Your problem may due to having a full armor with mending at the same time that the tool, which all requiring repair will get the XP divided between every item making the process slower and rather unnoticeable with almost broken diamond tools (that has a ton of durability) plus the armors' need of repairing. You should try making the same test taking of the armour and by one item at the time; also press F3 + H to have a look at the Durability and know if it is increasing.

Cheers and good luck.

Mending works like this: When collecting an XP orb, it will be given to one of your currently held mending items (so up to 6 if you have full mending armor + holding a mending item in main- and offhand). Thus, the chance a certain wanted item to be chosen can go as low as 1/6. If the chosen mending item is already fully repaired, the XP will be added to your XP bar, otherwise it will repair your item.

 

This works as intended. You seem to expect something different to happen though. I assume you expect the game to select an item, check if it needs repairing, and if not, instead of adding the XP to the XP bar, check for a different held item and repeat the process until either an item was repaired, or, if no item needs repair, finally add it to the XP bar.

JesusChavarria

(Unassigned)

Unconfirmed

Minecraft 1.14.3 Pre-Release 4

Retrieved