
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 Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Auto Villager (Librarian) Reroll". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Auto Villager (Librarian) Reroll server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Auto Villager (Librarian) Reroll compatible with fabric?
Auto Villager (Librarian) Reroll officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Auto Villager (Librarian) Reroll – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Auto Villager (Librarian) Reroll consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Auto Villager (Librarian) Reroll with just one click on your server.