Auto Villager (Librarian) Reroll

Auto Villager (Librarian) Reroll

This mod adds an easy to use feature to automatically reroll for enchanted books with an optional max cost setting.

by
516 Downloads
fabricgame-mechanicsoptimizationutility
Rent Server with this Mod

Screenshots

Key Binds Menu
Villager Reroll Menu

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

  1. Open the config screen — Press R (configurable in Controls → Miscellaneous → Open Villager Reroll).
  2. Add target books — Click Add, pick an enchantment, and set the maximum emerald price you're willing to pay.
  3. Lock in trade (optional) — Toggle this on to automatically lock in the trade when a match is found.
  4. 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
  5. 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

Auto Villager (Librarian) Reroll 1.0.0release
MC 26.1, 26.1.1, 26.1.2fabric
May 19, 2026

How to Install Auto Villager (Librarian) Reroll on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

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

fabric

Minecraft Versions

26.1.2, 26.1.1, 26.1

Server-side

Unsupported

Recommended 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.

Rent Modded Server

Install Auto Villager (Librarian) Reroll with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

26.1.226.1.126.1