Mending is a treasure enchantment in Minecraft that allows players to repair their tools, weapons, and armor using experience (XP) orbs collected from various activities. Unlike standard enchantments that increase an item's efficiency or power, Mending focuses entirely on longevity, effectively granting "infinite durability" as long as the player continues to earn experience.

Quick Summary of Mending Mechanics

For those looking for a fast answer, here is the essential logic of the Mending enchantment:

  • Function: Converts 1 XP point into 2 durability points.
  • Activation: The item must be equipped (held in the main hand, offhand, or worn as armor) when you pick up an XP orb.
  • Source: It is a "Treasure Enchantment," meaning it cannot be obtained from an Enchanting Table. You must find it as a book or on a pre-enchanted item.
  • Conflicts: It is incompatible with the Infinity enchantment on bows.

Understanding the Internal Logic of Mending

The power of Mending lies in its automation. In Minecraft, gear usually requires an anvil and raw materials (like diamonds or netherite ingots) to repair. However, each anvil repair increases the "Prior Work Penalty," eventually making the item "Too Expensive!" to fix. Mending bypasses this system entirely.

The XP-to-Durability Conversion

Whenever a player collects an experience orb, the game checks if they have any damaged gear with the Mending enchantment equipped.

  • 1 XP = 2 Durability Points. For example, a small XP orb worth 3 experience will restore 6 points of durability to a tool.
  • Excess Experience: If the repair restores the item to its maximum durability and there are XP points left over from that specific orb, those remaining points go toward the player's total experience level.
  • Full Durability Behavior: If an item is already at 100% durability, it is ignored by the Mending process, and the XP goes straight to the level bar.

The Selection Process for Multiple Items

If a player is wearing a full set of Mending-enchanted armor and holding a Mending sword, the game must decide which item to repair first.

  1. The game randomly selects one damaged item from the equipped slots (Main hand, Offhand, Helmet, Chestplate, Leggings, Boots).
  2. If the chosen item is already at full durability, the game does not "look" for another damaged item for that specific orb; instead, the XP is added to the player's level. (Note: In newer versions like Java 1.16+, this was updated so the game specifically prioritizes damaged items, making the process much more efficient).
  3. Only one item is repaired per XP orb. If you pick up a large cluster of orbs, the repair is distributed among your gear.

Reliable Methods to Obtain Mending Books

Because Mending is a treasure enchantment, obtaining it requires strategy rather than luck at the enchanting table. There are four primary ways to acquire Mending in a survival world.

1. Librarian Villager Trading (The Gold Standard)

Trading with a Librarian is the most consistent way to get Mending. By using a Lectern to turn an unemployed villager into a Librarian, you can check their first-tier trades.

  • The "Cycle" Method: Place a Lectern. If the Librarian does not offer Mending as their first trade, break the Lectern and place it again. This resets their profession and their trade list.
  • The Lock-in: Once you see a Mending book (prices usually range from 10 to 38 emeralds), trade with the villager once. This "locks" their trades so they will never change, even if the Lectern is broken.
  • Villager Trade Rebalance (Experimental): It is important to note that in recent experimental updates (Villager Trade Rebalancing), Mojang has changed how this works. In this experimental mode, Mending is exclusive to Master-level Librarians from the Swamp biome. To get this, you must breed villagers in a swamp or transport them there, then level them up to the maximum tier to unlock the guaranteed Mending trade.

2. Looting Rare Structures

If you prefer exploration over villager management, several structures have a high probability of containing Mending books in their loot chests.

  • Ancient Cities: These Deep Dark structures contain some of the best loot in the game. Mending books are frequently found in the various chests scattered around the city.
  • End Cities: Once you defeat the Ender Dragon, End Cities offer "God-tier" gear. You can often find Diamond tools and armor already enchanted with Mending here.
  • Strongholds and Jungle Temples: While less frequent, the libraries in Strongholds and chests in Jungle Temples have a chance to spawn treasure books.

3. AFK and Manual Fishing

Fishing is a classic method for obtaining Mending, though it requires patience.

  • To increase your chances, you need a fishing rod with Luck of the Sea III.
  • Mending is categorized as "Junk" or "Treasure" loot depending on the version. In current versions, you must fish in "Open Water" (a 5x5x5 area of water blocks) to receive treasure loot like enchanted books.

4. Raid Drops (Bedrock Edition Only)

In Minecraft Bedrock Edition, Vindicators and Ravagers killed during a Village Raid have a chance to drop enchanted books, which can include Mending. This is a viable alternative for players who have built efficient Raid farms.

Incompatibilities and Limitations

While Mending is arguably the best enchantment in the game, it cannot be used everywhere.

The Mending vs. Infinity Conflict

On a Bow, you must choose between Mending and Infinity.

  • Infinity: Gives you infinite arrows as long as you have at least one in your inventory. However, the bow will eventually break unless you repair it at an anvil (which becomes impossible over time).
  • Mending: Allows the bow to last forever, but you must craft or find every arrow you shoot.
  • Decision Tip: Most veteran players choose Mending for "God Bows" because they can use tipped arrows or a skeleton grinder to get plenty of arrows, whereas a maxed-out bow is too expensive to replace.

The Anvil Requirement

To apply a Mending book to an item, you must use an Anvil. This costs a small amount of experience levels. If you are combining a book with a highly enchanted piece of gear, ensure you have enough levels (usually between 5 and 30) to complete the transfer.

Why Mending is Essential for Late-Game Play

Once you transition from Iron to Diamond or Netherite gear, Mending becomes a necessity rather than a luxury.

Saving Netherite Resources

Netherite is incredibly rare, requiring Ancient Debris from the depths of the Nether. Using an anvil to repair Netherite tools is a waste of precious resources. Mending allows you to maintain a full set of Netherite armor and tools using nothing but the XP from a gold farm or even simple quartz mining.

The Elytra Factor

The Elytra (wings) is perhaps the most important item to enchant with Mending. Elytra have relatively low durability and are difficult to repair (requiring Phantom Membranes). Since you usually use the Elytra to travel between XP-generating locations, Mending ensures your wings never break mid-flight.

Synergy with Unbreaking III

Mending should always be paired with Unbreaking III. While Mending repairs the item, Unbreaking III gives the item a chance to not lose durability at all when used. Together, they create a cycle where the item loses durability very slowly and repairs very quickly, making it almost impossible to break the item during normal gameplay.

Best XP Sources for Mending Repairs

To make the most of Mending, you need a reliable way to generate XP orbs.

  • Enderman Farms: Located in the End, these provide massive amounts of XP quickly, capable of repairing a full set of armor in seconds.
  • Zombified Piglin Farms: Built on the Nether Roof, these farms provide both gold and a continuous stream of experience.
  • Guardian Farms: These are high-effort builds but offer the fastest XP rates in the game for massive repair needs.
  • Trading and Smelting: For early-game players, trading with villagers or smelting large quantities of cactus/kelp can provide enough XP to keep a Mending pickaxe healthy.

Frequently Asked Questions (FAQ)

What is the best price for a Mending book?

The lowest possible price for a Mending book from a Librarian is 1 Emerald (achieved after curing a zombie villager multiple times, though recent updates have nerfed this). The standard lowest price without discounts is 10 Emeralds.

Can I get Mending from a Level 30 Enchanting Table?

No. Mending is a "Treasure Enchantment." The only way to get it on an item via the enchanting table is if you find the item already enchanted in the world or apply a book.

Why isn't my Mending gear repairing?

Ensure the item is equipped. If you have a damaged Mending pickaxe in your inventory but you are holding a sword while killing mobs, the pickaxe will not receive any XP. You must hold the pickaxe in your hand or offhand while the XP orbs are collected.

Is Mending better than Unbreaking?

They serve different roles. Unbreaking makes the item last longer; Mending makes the item last forever. Ideally, you want both on every piece of equipment.

Summary

The Mending enchantment is the ultimate tool for sustainability in Minecraft. By converting experience orbs into durability, it removes the stress of losing your hard-earned gear and eliminates the resource sink of anvil repairs. Whether you obtain it through meticulous villager trading or through the thrill of raiding Ancient Cities, Mending is the cornerstone of any advanced Minecraft survival kit. Equip it on your Netherite pickaxe, your Sharpness V sword, and your Elytra to ensure that your journey through the blocks never has to be interrupted by a broken tool.