
Auto Villager (Librarian) Reroll
This mod adds an easy to use feature to automatically reroll for enchanted books with an optional max cost setting.
Screenshots


About this Mod
Auto Villager Reroll
Automates librarian lectern rerolls. Configure a list of desired enchanted books, then the mod will repeatedly break and replace a lectern until one of those books appears in the villager's trades.
Usage
- Open the config screen β Press R (configurable in Controls β Miscellaneous β Open Villager Reroll).
- Add target books β Click Add, pick an enchantment, and set the maximum emerald price you're willing to pay.
- Lock in trade (optional) β Toggle this on to automatically lock in the trade when a match is found.
- Start β Click Start, then right-click a lectern. The mod will:
- Open the trade and check the villager's offers
- If no match, break the lecturn and place a new one from your invetory
- Repeat until a match is found or you stop the mod
- Stop β Click Stop in the GUI, or the mod stops automatically when a match is found.
Controls
| Key | Action |
|---|---|
| R | Open Villager Reroll config screen |
The hotkey can be rebound in Options β Controls β Miscellaneous β Open Villager Reroll.
Config
Saved to config/villager-reroll.json:
- targets β List of enchantments to search for, with max price per book
- range β Search radius for the villager (default: 6)
- jobSite β Lectern position (set automatically when you start)
- lockInTrade β Whether to auto-lock the trade on match
Available Versions
How to Install Auto Villager (Librarian) Reroll on Your Client
Install the Mod Loader Locally
Install fabric for your local Minecraft version.
Download the Matching File
Choose the Auto Villager (Librarian) Reroll file for fabric and Minecraft 26.2.
Install Mod
Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+1 more)
Server-side
β UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Does Auto Villager (Librarian) Reroll need to be installed on the Minecraft server?
No. Modrinth marks Auto Villager (Librarian) Reroll as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.
Which version and loader does Auto Villager (Librarian) Reroll require?
Use a file for fabric and your exact Minecraft version. Supported versions include 26.2, 26.1.2, 26.1.1. Files for different loaders are not interchangeable.
Auto Villager (Librarian) Reroll is not working β what should I check?
First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.
Similar Mods
Minecraft Server for Your Group
Auto Villager (Librarian) Reroll stays on your client. Host a compatible world for your group.