What Does Mending Do in Minecraft? XP Repair Explained

What does Mending do in Minecraft? It repairs your tools and armor with XP orbs instead of adding levels — plus every way to get a Mending book.

Mending is an enchantment that repairs your tools, weapons, and armor automatically using experience orbs: instead of filling your XP bar, each orb you collect restores 2 durability points per XP point to the held or worn item that needs it most. With Mending, gear that would eventually break can last indefinitely — which is why it is widely considered the single best enchantment in Minecraft. It is a treasure enchantment, so it never appears on an enchanting table and must be found or traded for.

How Mending Repair Works

The mechanic is simple but has rules worth knowing:

  • Every XP orb you collect normally grants experience levels. With Mending, the game first diverts orbs to repair any damaged enchanted item you are holding or wearing, at a rate of 2 durability per 1 XP.
  • If multiple items are damaged, priority goes to a random damaged item among those held/worn — including off-hand and armor slots.
  • Once all your gear is fully repaired, leftover XP goes back to your experience bar as normal.
  • Mending never adds levels; it only consumes orbs. The repair happens the moment you collect the orb, not over time.
  • XP from non-orb sources — smelting while collecting, bottles o' enchanting when drunk (they spawn orbs), and quest-like rewards — also triggers repairs.

Two important edge cases:

  • Fishing rods and bows: Mending repairs them as you collect orbs, but the item must be in your hand or an equipment slot when the orb lands. Keep a damaged rod selected when collecting XP.
  • Elytra: Mending is one of only two ways to repair an elytra (the other is phantom membranes on an anvil), and it is the reason most players make Mending their first priority after getting wings — see our elytra guide.

Mending + Unbreaking: Why the Combo Is Essential

Mending and Unbreaking multiply each other's value:

EnchantmentEffect
Unbreaking IIIEach durability point consumed has a 75% chance (tools/armor) to be "refunded" — effectively ~4x durability
Mending IConverts collected XP into 2 durability points each

With Unbreaking III, your item takes damage far less often, so the same stream of XP orbs over-repairs it — the surplus rolls back into your XP bar. Net effect: a properly set-up item effectively never breaks, and you keep leveling normally. On a pickaxe or sword you use daily, Mending without Unbreaking works but wastes repair potential; always apply both.

One conflict to know: Mending and Infinity are mutually exclusive on bows. The anvil refuses the combination, and an enchanting table will never offer both. Choose Infinity for unlimited arrows, or Mending for a bow that never breaks — most long-term players pick Mending, since arrows can be farmed and a broken Infinity bow is worthless.

How to Get Mending

Because Mending is a treasure enchantment, you have five realistic routes:

  1. Librarian villager trading — the reliable method. Place a lectern near an unemployed villager, check its trades, and break/re-place the lectern to reroll until it sells a Mending book. Once locked in, the trade is permanent and refreshable, and you can breed more librarians for other books — the full process is in our villager trading guide. Expect to pay 10–40 emeralds per book.
  2. Fishing. Treasure catches include enchanted books, Mending among them. Use a rod with Luck of the Sea III to improve treasure odds, but note it is still rare — fishing is a passive background method, not the fastest one.
  3. Loot chests. Dungeons, desert temples, jungle temples, strongholds, woodland mansions, end cities, and ancient cities can generate Mending books.
  4. Raids. Evokers and other raid drops, plus the Bad Omen→Hero of the Village chain, can yield books from villager-gift bonuses at the end of a raid.
  5. Bartering/give commands apply only on specific servers or in specific snapshots — vanilla bartering does not produce Mending.

For most survival worlds the practical play is route 1: set up a villager hall, reroll one librarian for Mending, and trade forever. Combine duplicate Mending books for spare copies to gear up multiple items.

Best Items to Mend First

Mending works on any item with durability, but your XP budget is finite. A sensible priority order:

  1. Pickaxe — your main XP earner; mining feeds its own repairs
  2. Sword or axe — mob kills drop orbs that self-fund the repair
  3. Elytra — repairs mid-flight from mob orbs and bottle XP
  4. Helmet and chestplate — the armor pieces that matter most in fights
  5. Fishing rod, shovel, hoe — as spare copies become available

The logic behind the order: the best Mending items are the ones that generate XP while they work. A pickaxe collects orbs from every ore it mines; a sword collects them from every kill. Armor cannot earn XP by itself — it only receives repairs from XP earned by your tools and weapons — so armor pieces are best mended once your income tools are safe. An elytra sits in between: flying itself earns nothing, but you can carry bottles o' enchanting or pass through orb-rich areas to keep it patched.

Mending vs the Grindstone Economy

A Mending item changes how you think about repair costs entirely. Without Mending, every durability cycle ends at an anvil: combine a fresh item or pay materials to restore it, and the prior work penalty climbs each time. With Mending, the anvil disappears from the loop — XP is a renewable resource you farm anyway, so repairs become free in both levels and materials. This is why veteran players rush a Mending book before they rush diamond gear: the enchantment converts any mid-tier tool into a permanent one, and the earlier it lands, the more anvil costs it erases.

The XP Math: How Much Repair Is Your XP Worth?

Because the exchange rate is fixed at 2 durability per XP point, you can estimate your repair income:

XP SourceTypical XPDurability Restored
Coal ore (Fortune-boosted average)~0–20–4
Diamond ore3–76–14
End of a raidlarge orb bursthundreds
Bottle o' Enchanting~3–11 per bottle6–22
An XP farm (double spawner)thousands per houreffectively unlimited

The table explains a common observation: mining a deep diamond vein with a Mending pickaxe usually ends with the pickaxe at full durability and a net level gain, while early-game XP income is thin enough that armor repairs feel slow. If your gear needs emergency repairs, visit an enderman farm or other high-rate XP farm rather than grinding low-yield ores.

One more planning note for long sessions: because repairs intercept XP before it reaches your bar, you will level more slowly while wearing a full set of damaged gear. Players preparing for an anvil-heavy project sometimes finish all repairs first, then bank levels — the same XP goes further once nothing needs mending.

Things to Watch Out For

  • It repairs the wrong item sometimes: with several damaged items equipped, the game picks randomly among them. Repair a specific item by isolating it (hold the pickaxe, stow damaged armor) until its durability is back.
  • Mending does not work through an anvil repair fallback: it never restores items already at zero durability — a broken item is gone. Do not let gear hit 0 while farming.
  • Grindstone removal wipes everything: if you accidentally table-enchant an item, remember that removing the wrong perk with a grindstone also strips Mending.
  • No effect on armor-less items' function: Mending only restores durability; it changes no damage, speed, or drop behavior.
  • Java and Bedrock behave identically: the 2-durability-per-XP rate, the random repair target, and the treasure-enchantment acquisition rules are the same in both editions, so every strategy in this guide transfers directly.