How to get Mending fast in Minecraft: use a librarian villager — put an unemployed villager next to a lectern, check its trades, and break and replace the lectern until an enchanted book with Mending shows up, then trade once to lock it. Mending is a treasure enchantment, so it can never come from an enchanting table. Every other route — fishing, loot chests, the opt-in Villager Trade Rebalance — is slower or situational.
Why bother? Mending repairs an equipped, damaged item by 2 durability for every point of experience you pick up, which is what lets Mending gear last as long as you keep collecting XP. Everything below is checked against the Minecraft Wiki for Java 26.3, released September 15, 2026.
1. Mending Villager Trade — The Fast Method
A librarian's trades are randomized the moment it takes the job at a lectern — but only if it's never been traded with. That's the entire trick:
- Get an unemployed villager next to an unclaimed lectern.
- Check its trades. No Mending? Break the lectern and place it again — the villager loses the job and rolls a brand new trade set when it reclaims it.
- Repeat. Never trade with a villager before you've confirmed it offers Mending — a single completed trade locks its offers in permanently.
How many rerolls to expect
In default Java, the enchanted-book trade can appear at Novice, Apprentice, Journeyman and Expert level, and the enchantment is picked with equal chances from everything except Soul Speed, Swift Sneak and Wind Burst. A fresh Novice offers a book about two times in three. With roughly 40 enchantments in that pool, our own arithmetic from the wiki's tables puts a Mending offer at under 2% per reroll — around 60 rerolls on average, and roughly one hunt in five runs past 100. That's an estimate, not a measured figure, but it's why a ten-reroll expectation leaves people frustrated. Each reroll is just a lectern broken and placed again, so even a long streak is minutes, not days.
A Mending book costs 10–38 emeralds plus a book, because treasure enchantments trade at double price. A small trading hall with several lecterns lets you work through villagers in parallel — our villager trading hall guide covers cells, locking and the 26.1 breeder changes.
If you're playing with the Villager Trade Rebalance
This opt-in experiment (in Java since 1.20.2) ties librarian books to biome. Under it, Mending is a guaranteed trade from a Master-level swamp librarian — no rerolling, just levelling one villager — and swamp armorers sell chainmail armor that always carries Mending. The catch: swamp villages don't generate, so you have to build your own village in a swamp. As of the wiki's post-26.3 revisions it is still experimental; only the cartographer and wandering trader changes became default, in Java 1.21.5. Check your world's Experiments screen before assuming which rules apply. For what else changed in 26.3, see our snapshot roundup.
2. Mending Fishing — Slow but Passive
With an unenchanted rod, 5% of catches are treasure, and one treasure item in six is an enchanted book — about 0.83% of catches. Luck of the Sea III raises treasure to 11.34%, so books climb to roughly 1.89% per catch. Lure only shortens the wait (5 seconds off the 5–30 second timer per level); it never changes what you catch. Fished books roll like a level-30 enchanting table with treasure enchantments allowed, so Mending is possible but only a minority of the books you land.
Two details decide whether fishing works at all:
- Open water. Since Java 1.16, treasure only drops if the 5×4×5 area around the bobber is made up entirely of air, lily pads, water source blocks or non-colliding waterlogged blocks. A one-block fishing hole catches fish and junk forever.
- The rod pays for itself. Every catch drops 1–6 XP, so once you do land Mending, a Mending rod used only for fishing never wears out.
AFK fish farms and servers. In single-player and on private worlds, an AFK fish farm is fair game. Public servers are a different story: a June 2026 hosting-company guide warns that many treat unattended automated input as against the rules, and ManaCube moderators said in a 2019 forum thread that auto-fishers were banned on all its game modes. Rules change, so read the current ones before leaving a rod running.
3. Loot Chests — A Nice Bonus, Not a Plan
In Java, these chests can hold a book that rolls Mending (chance of an enchanted book per chest):
- Any enchantment, equally likely: ancient cities (36.5%), desert pyramids (22.2%), big ocean ruins (21.7%), woodland mansions (17.6%), mineshafts (14.1%), monster rooms (13.3%) and pillager outposts (11%).
- Level-30 rolls: stronghold library chests (67.8%), jungle pyramids (4.4%) and other stronghold chests.
- Trial chamber vaults and reward chests (7%): the book comes from a five-enchantment pool — Mending, Riptide, Loyalty, Channeling or Impaling.
Do the multiplication and a single ancient city chest is under a 1% shot at Mending; a normal trial chamber vault is about 1.4%. Two corrections to older guides: the boosted Mending odds in ancient cities only exist under the Villager Trade Rebalance experiment, and End cities aren't a Java book source at all. Loot what you pass. Don't detour.
The Myths to Retire
- Piglin bartering does not give Mending. About 1 barter in 92 (5/459) yields an enchanted book, and it is always Soul Speed. Bastion chest books are Soul Speed too.
- Raids don't drop Mending in Java. Pillagers and vindicators dropping enchanted books during raids is Bedrock-only.
- The enchanting table can't roll it. No number of bookshelves changes that.
Every Route Compared
| Route | Java 26.3 odds | Verdict |
|---|---|---|
| Librarian rerolling | Under 2% per reroll (our estimate); repeatable instantly | Fastest. Minutes once you have a villager and a lectern. |
| Swamp librarian (VTR experiment) | Guaranteed at Master | Reliable, but only in worlds with the experiment on. |
| Fishing, Luck of the Sea III | ~1.89% book per catch; Mending a fraction of that | Hours. Good background XP. |
| Trial chamber vault | 7% book, 1 in 5 of those Mending | Worth it if you're clearing chambers anyway. |
| Structure chests | Under 1% per chest | Pure bonus. |
| Piglins, raids, enchanting table | Zero | Never. |
Recommended Order of Operations
- Find or breed one villager and place a lectern next to it.
- Reroll until Mending appears, checking trades before you ever trade — then lock it in.
- Expand into a small trading hall so more librarians can restock other books.
- Feed your Mending gear with XP: an open-water AFK fishing spot where the rules allow it, or the farms in our mob farm guide. If the gear you want to keep forever is netherite, our guide to finding Ancient Debris covers where to mine the material for it.
- Loot early-game structures opportunistically, but don't rely on them.
Worth knowing
Everything above is vanilla. Servers set their own rules — many treat AFK machines as against the rules. MCRPG, launching October 16, 2026, runs a single-ledger gold economy where market prices come from other players and the risk they took — so check the rules of whatever server you play before you build a hall or leave a rod running.