
Auto Lectern
Automatically cycles librarian villager trades for you.
Screenshots




About this Mod
Auto Lectern (Fabric):

This mod basically breaks and places lecterns to cycle trades for you.
Usage:
Add a goal:/autolec add [enchant]? [(minLevel, maxLevel)/min/max/any] [(minPrice, maxPrice)/min/max/any]
Look at a lectern/autolec start
Stop:/autolec stop
If there isn't any goal Auto Lectern will cycle forever.
If you wish to make Auto Lectern wait for the lectern item to be picked up first,
do /autolec sync item
Quick Start
Add a goal
You may add a goal using the command /autolec add which has the following syntax:/autolec add [enchant]? (([min_level] [max_level])|min|max|any) (([min_price] [max_price])|min|max|any)
Here's an example of adding mending at lowest price:/autolec add minecraft:mending max min
Here's an example of adding mending at any price:/autolec add minecraft:mending max any
Here's an example to add Sharpness V at any price:/autolec add minecraft:sharpness 5 5 any
Here's an example to add Unbreaking of any level at the price of between 10-32 emeralds:/autolec add minecraft:unbreaking any 10 32
Here's an example to add ALL enchantments at max level and minimum price./autolec add max min
List goals
You may want to know which goals you have already added.
You may do this using the /autolec list command.
Prepare a suitable cycling area
Here's an example of a suitable cycling area:
Prepare lecterns and axe(s)
For faster cycling speed, prepare many lecterns and put them in your offhand while putting the axe in your main hand.
Settings for consideration
- Auto trade
/autolec autoTrade (CHEAPEST|ENCHANT|OFF)- You may want to use auto trade to automatically trade the enchant or lock the enchant. To do this, you need to first put paper and or books and emeralds in your inventory as the mod with automatically trade those based on the settings:
- CHEAPEST - this will trade paper first, if there's no such trade or you don't have enough paper in your inventory, it will try to trade the enchant instead otherwise it will fail and won't trade.
- ENCHANT - this will attempt to trade the enchant book. If it can't it will fail and won't trade.
- OFF - this means it won't automatically trade for you.
- You may want to use auto trade to automatically trade the enchant or lock the enchant. To do this, you need to first put paper and or books and emeralds in your inventory as the mod with automatically trade those based on the settings:
- Break Cooldown
/autolec breakCooldown- By default, Minecraft has a break cooldown. You may disable break cooldown while using AutoLectern by toggling Break cooldown to OFF.
- Logging
/autolec log- By toggling this on, it will display log of trades in chat.
- Pre breaking
/autolec preBreak- By toggling this on, it will make AutoLectern start breaking the lectern while waiting for villager trades, speeding up the cycling speed.
- IMPORTANT if your tool is instant, you should turn pre breaking OFF since it will CAUSE THE LECTERN TO BREAK WHILE WAITING FOR TRADES.
- Preserve tool
/autolec preserveTool- By toggling this on, it will cause AutoLectern to stop if your tool is about to break.
- Item sync
/autolec sync item- By toggling this on, AutoLectern won't place a lectern until the broken lectern has been picked up, useful for when you don't have many lecterns.
Start cycling
You may start cycling by LOOKING AT THE LECTERN and run the following command: /autolec start
Removing goals
After you got your enchant, you may remove your goal by:
- Clicking the [REMOVE] button in chat where it says
Goal met: - Clicking the [REMOVE] button in chat when you do
/autolec list - Using
/autolec remove [index]where [index] is obtained from the number on the left in/autolec list
Available Versions
How to Install Auto Lectern 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 Lectern". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 1.21.11, 1.21.10 (+14 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Auto Lectern 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 Lectern compatible with fabric?
Auto Lectern officially supports fabric for Minecraft 26.1.2, 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Auto Lectern – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Auto Lectern 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 Lectern with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial Share Alike 4.0 International
- Server-side
- Unsupported