How to Fix a Librarian Villager Not Offering Mending
The single biggest mistake players make when trying to acquire the coveted Mending enchantment from a librarian villager is completing a trade too soon. Once you’ve made even one transaction with a villager, its offered trades become permanently locked, effectively making that villager useless for rerolling for Mending. Understanding this crucial mechanic is the first step toward successfully obtaining this invaluable enchantment.
![]()
Understanding Librarian Villager Mechanics
To effectively manipulate villager trades, it’s essential to grasp how they operate. A villager transforms into a Librarian when it links with a job site block called a lectern. This linking process assigns them their profession and, consequently, their initial set of trades.
The key to obtaining specific enchantments like Mending lies in the ability to reroll trades. If a Librarian’s initial offers aren’t desirable, you can break its linked lectern and then replace it. This action forces the villager to generate a new set of trades. This rerolling can be repeated indefinitely, but only as long as you have not completed any trade with that villager. As soon as you make a purchase, all current trades are locked in forever.
Mending itself is considered a “treasure enchantment.” This means it cannot be obtained from an enchantment table and is typically found in chests, fishing, or through trading with villagers. Villager trading is widely regarded as the most reliable and renewable method to acquire it.
The Critical Version Divide: Pre-1.20.2 vs. 1.20.2+
A monumental change to villager trading was introduced in Minecraft 1.20.2, or if the “Villager Trade Rebalance” experimental feature is enabled in earlier 1.20 snapshots. This update drastically alters how players acquire Mending from librarians. It’s imperative to know which version of Minecraft you are playing, as the strategy for getting Mending will differ significantly.
Method 1: The Classic Approach (Pre-1.20.2 or without Trade Rebalance)
This method applies to all versions before 1.20.2, or if you are playing 1.20.2+ without the experimental villager trade rebalance feature enabled. In this scenario, any librarian villager has a random chance to offer Mending.
Preparation: Setting the Stage
- Craft a Lectern: Begin by crafting a lectern. This requires 4 wooden slabs and 1 bookshelf, arranged in a crafting grid.
- Find an Unemployed Villager: Locate a villager that doesn’t have a profession. These villagers wear plain brown robes. Be sure to avoid Nitwit villagers, identifiable by their distinctive green robes, as they cannot take on any job.
- Isolate the Villager: This step is crucial for control. Confine your chosen unemployed villager in a small, enclosed space, such as a 1×1 or 1×2 cell. Ensure that the only job site block it can link to is the lectern you are about to place. Villagers can link to workstations up to 16 blocks horizontally and 3 blocks vertically, so clear the area of any other potential job blocks.
Rerolling for Mending
- Place the Lectern: Place your crafted lectern within reach of the isolated villager. The villager should quickly transform into a Librarian, indicated by their white robe.
- Check Trades: Right-click on the newly formed Librarian to open its trading interface. Inspect the first tier of trades it offers.
- The Reroll Loop: If Mending is not among the trades, immediately break the lectern. Wait a moment for the villager to revert to an unemployed state, then place the lectern again. The villager will re-link, become a Librarian, and offer a new set of trades. Repeat this process until Mending appears. This can take many attempts, so patience is key.
Locking in the Deal
- Make the Trade: Once the Mending enchantment book is offered, make at least one trade with the villager. This action will permanently lock all of its current trades, securing your Mending source.
Method 2: The Modern Approach (Minecraft 1.20.2+ or with Trade Rebalance)
If you are playing Minecraft 1.20.2 or a newer version, or if the “Villager Trade Rebalance” experimental feature is active, the strategy for Mending changes dramatically. In these versions, only swamp librarian villagers can reliably offer the Mending enchantment.
The Swamp Villager Imperative
The first and most critical step is to obtain a villager that is specifically a “swamp villager.” A villager’s biome type is determined by where it was born or cured.
- Curing a Zombie Villager: The easiest way to get a swamp villager is to find a zombie villager within a swamp biome and then cure it. This involves weakening it with a Splash Potion of Weakness and then feeding it a Golden Apple. The cured villager will retain the swamp biome type.
- Breeding in a Swamp: Alternatively, you can transport two regular villagers to a swamp biome. Ensure they have beds and food, then allow them to breed. Any baby villager born within the swamp biome will be a swamp villager.
Assigning the Librarian Profession
- Place a Lectern: Once you have your swamp villager, place a lectern near it. The swamp villager will link to the lectern and become a swamp librarian.
Leveling Up for Mending
- Trade to Master Level: Unlike the classic method where Mending could appear at any level, in 1.20.2+ (with rebalance), a swamp librarian is guaranteed to offer Mending only once it reaches Master level (Level 5). This means you must continuously trade with your swamp librarian until it levels up through Novice, Apprentice, Journeyman, Expert, and finally, Master. This will require a significant amount of emeralds and other trade items, but the Mending offer is assured once it hits Master level.
Essential Tips for Success
- Patience is Crucial: Whether you’re rerolling for Mending in older versions or leveling up a swamp librarian, the process can be time-consuming. Don’t get discouraged!
- Isolation is Key: Always ensure your villager is isolated with only its intended job site block. This prevents it from linking to other workstations, which can cause confusion or prevent it from taking on the desired profession.
- Sticky Piston for Faster Rerolling: For the classic rerolling method, consider using a sticky piston connected to a lever or button to quickly break and replace the lectern. This speeds up the process significantly.
- Zombie Villager Curing Benefits: Curing a zombie villager, regardless of the version, often results in significant discounts on their trades, making Mending books (and other items) much cheaper.
- Beds for Reliability: Villagers sometimes require access to a bed to reliably claim their profession, restock trades, and generally function correctly. Even if they don’t sleep, having a bed nearby can improve their behavior.
- Pathfinding for Restocking: Villagers must be able to reach and interact with their job site block to restock their trade items, which typically happens up to twice a day. Ensure their path to the lectern is clear.
Common Pitfalls to Avoid
- Trading Prematurely: As mentioned, this is the most common mistake. Making any trade before Mending is offered (in the classic method) or before the swamp librarian reaches Master level (in the modern method) will lock in unwanted trades.
- Ignoring Lectern Interaction: Simply opening and closing the trade GUI does not reroll trades. The lectern must be physically broken and then replaced for new offers to appear.
- Incorrect Workstation Linking: If other job site blocks (like other lecterns, blast furnaces, or brewing stands) are accessible, your villager might link to the wrong workstation, preventing it from becoming a Librarian or offering the correct trades.
- Not Using a Swamp Villager (1.20.2+): In newer game versions with the trade rebalance, attempting to get Mending from a non-swamp librarian will be an exercise in futility.
- Nitwit Villagers: These villagers, with their green robes, cannot take on any profession. Do not waste your time trying to make them Librarians.
- Blocked Workstation Access: If a villager cannot pathfind to its job site block, it may be unable to restock its trades, even if it has the correct profession.
Acquiring Mending from a librarian villager can be a challenging but rewarding endeavor. By understanding the specific mechanics of your Minecraft version and diligently following the appropriate steps, you’ll soon have a reliable source for this essential enchantment, keeping your valuable gear in top condition.