Mending
Repairs the item's durability using experience orbs collected by the player. Each XP orb collected while the item is equipped (main hand, off-hand, or armor slot) repairs 2 durability points per XP point consumed.
Best uses
Put Mending on every critical piece of gear. It is most powerful on items used in XP-generating activities — a fishing rod with Mending repairs itself while fishing, and a sword with Mending self-repairs while killing mobs. Combine with Unbreaking III so repairs keep up with use.
How to get Mending
Treasure enchantment — cannot be obtained from an enchanting table. Get it via librarian villager trades (most reliable), fishing, or loot chests in structures such as ancient cities, End cities, bastions, and vaults. Apply to gear using an anvil and enchanted book.