This guide covers normal Survival in Java Edition 26.3. It distinguishes regular trades without mods or custom data packs from the explicitly enabled Villager Trade Rebalancing experiment. Do not apply the steps uniformly to Bedrock or older versions. In-game controls have not been tested.

When looking for a Mending book, first check whether the world uses the Villager Trade Rebalancing experiment. Do not treat regular librarian trades and a master librarian of the swamp type in an experimental world as the same conditions. Once you have the book, apply it to a target item at an anvil, then hold the Mending tool or wear Mending armor while collecting XP orbs.

Separate regular trades from the experiment

Mending is a treasure enchantment that does not appear among enchanting table options. Even with 15 bookshelves arranged for level 30, do not expect Mending to appear by rerolling the table.

World settingHow to look through librariansDo not confuse it with
Normal trades, without Villager Trade RebalancingCheck librarians’ trade offers for a Mending book. In normal Java 26.3 data, book trades at levels 1–4 can offer it.Do not assume you must move to a swamp for normal trades.
Villager Trade Rebalancing experiment enabledCheck the requirements for a swamp-type librarian to reach master level.Do not search using the same offer pool as a regular librarian.

A new Mending book trade is not guaranteed to be added by a regular master librarian. Check book trades that have already unlocked too. In the experiment, “swamp type” refers to the librarian type; do not assume moving an existing librarian into a swamp meets the condition.

The official Java 26.1 notes describe trade rebalancing as a change that applies when the experiment is enabled. Do not assume the experiment is active just because of the game version; check the world settings or ask the server administrator. This guide is not recommending that you enable the experiment in an already-progressing world just to check the setting.

Check the librarian’s book offer

  1. Find a librarian and inspect the enchanted book shown in the trade offer.
  2. Confirm that the enchantment is Mending. Unbreaking is a different enchantment and is not a substitute.
  3. If there is no Mending trade, check another librarian in a normal-trade world. In an experimental world, first verify the swamp-type librarian and master-level requirements.
  4. Gather the displayed payment and required items, obtain the book, and store it separately from other books.
  5. Prepare the anvil and the tool or armor you want to enchant.

This guide does not guarantee how many librarians you must check to find Mending or that prices are the same on every platform. It does not cover rerolling trades or building a large trading hall; first check whether a Mending offer exists under your current conditions. It also does not present raid rewards as a way to obtain Mending that works the same in Java and Bedrock.

Check the result before applying the book at an anvil

An anvil combines a tool with an enchanted book to apply the book’s enchantment to the item.

  1. Put the tool or armor you want to enchant in the anvil’s left slot.
  2. Put the Mending enchanted book in the right slot.
  3. Confirm that Mending appears on the result and that you have enough experience levels for the displayed cost.
  4. Take the result. This consumes the book and the displayed levels, so confirm that you selected the intended item first.

If no result appears or the cost is high, see how to check anvil inputs, prior work, and costs.

Crafting an anvil takes 3 iron blocks and 4 iron ingots. Including the iron needed to make the blocks, that is 31 iron ingots, so set aside the materials for the workstation first. Costs vary with prior anvil work and other factors; this guide does not claim that applying Mending always costs the same number of levels.

Owning the book, applying it to an item, and repairing with XP are separate steps. A tool does not regain durability just because you have a Mending book in your inventory.

Collect XP orbs and check durability

Hold a damaged Mending tool in your main hand or off-hand, or wear Mending armor, and collect XP orbs. An item stored in your inventory or a chest is not an active repair target.

For a first check, compare the same item using these steps:

  1. In a safe place, confirm that the item has Mending and has lost durability.
  2. Hold the tool or equip the armor. If you remove other Mending equipment to test, make sure the area is safe first.
  3. Collect a new XP orb and check the target’s durability again.
  4. If it does not change, check whether another Mending item is damaged.

In Java 26.3, a damaged Mending item is selected as the repair target. When using several items at once, a particular one is not guaranteed to be repaired first. Some XP is spent on repairs, so the XP bar may not increase even when durability is restored.

Mending repairs items by collecting XP orbs; using accumulated experience levels for anvil work is a different method. Test in a safe place where you can collect XP, and do not assume you can use the tool until it breaks completely before repairing it!

If Mending is missing or durability does not recover

SituationWhat to check first
Mending does not appear at the tableIt is not an enchanting table option. Use a book source such as librarian trades instead.
You cannot find it from a librarianDistinguish normal trades from the experiment, then check the actual trade offers and librarian requirements.
You have the book, but the item does not repairDoes the anvil result show Mending on the item?
An item in your inventory does not repairAre you holding it, or wearing it if it is armor?
The XP bar does not increaseDid the equipment regain durability? The XP may have been used for repairs.
XP orbs do not repair the intended itemCheck that its durability is reduced, Mending was applied, it is in an active equipment slot, and no other Mending item is damaged.

This guide cross-checks Java 26.3 official distribution trade data and Mending behavior with official update notes. Bedrock Edition, device-specific controls, and in-game reproduction were not tested. If you want Mending on an Elytra, still check acquisition, application, and equipment separately; see recovering and returning from an End City for an Elytra (Japanese only).

To restore durability with materials, see renaming and repairing an iron pickaxe at an anvil.

Sources and references

Questions and contributions

Share questions, corrections or play reports. Only approved posts for this article and language appear here.

Submit for review

Do not include personal details, passwords or private information about others. Text only. Publication and replies are not guaranteed.