
Auto Best Enchantments
Automates the process of breaking and replacing lecterns to refresh librarian villager trades.
About this Mod
✨ Auto Best Enchantments
📘 About the Mod
Auto Best Enchantments automates the process of breaking and replacing lecterns to refresh librarian villager trades until the enchantments you want appear.
Perfect for players who want rare books faster without manually resetting villagers for hours.
🚀 Quick Start
🎯 Add Goals
Use this command to set the enchantments you want:
/autolec add [enchantment]? [(min level, max level)/min/max/any] [(min price, max price)/min/max/any]
📌 Examples
Mending at the cheapest possible price
/autolec add minecraft:mending max min
Mending at any price
/autolec add minecraft:mending max any
Sharpness V at any price
/autolec add minecraft:sharpness 5 5 any
Any level Unbreaking between 10 and 32 emeralds
/autolec add minecraft:unbreaking any 10 32
All enchantments at max level and minimum price
/autolec add max min
▶️ Start Cycling
Look directly at the lectern and run:
/autolec start
⛔ Stop Cycling
/autolec stop
🔁 No Goals Added?
If no goals are configured, the mod will keep cycling trades endlessly.
📋 View Current Goals
To list all active goals:
/autolec list
🛠️ Recommended Setup
🪓 Tools
For best speed:
- Axe in main hand
- Multiple lecterns in offhand
This greatly improves cycling speed.
🏠 Ideal Area
Create a setup where:
- Villager stays in place
- Lectern is easy to target
- You can stand close enough to interact quickly
⚙️ Useful Settings
💰 Auto Trade
/autolec autoTrade (CHEAPEST|ENCHANT|OFF)
Modes:
CHEAPEST
Trades paper first. If unavailable, buys the enchanted book.
ENCHANT
Attempts to buy the enchanted book directly.
OFF
No automatic trading.
⏱️ Break Cooldown
/autolec breakCooldown
Disables Minecraft's normal block break delay.
📝 Chat Logs
/autolec log
Shows found trades in chat.
⚡ Pre Break
/autolec preBreak
Starts breaking the lectern before trades fully load.
⚠️ Warning
If your tool breaks instantly, keep this disabled or the lectern may break too early.
🔧 Preserve Tool
/autolec preserveTool
Stops automatically before your tool breaks.
📦 Item Sync
/autolec sync item
Waits until the dropped lectern is picked up before placing another one.
Useful when you only have a few lecterns.
🗑️ Remove Goals
You can remove goals in 3 ways:
1️⃣ Chat Button
Use the [REMOVE] button when a goal is completed.
2️⃣ Goal List
/autolec list
3️⃣ By Index
/autolec remove [number]
💡 Final Tip
Best used with:
- Fast axe
- Books / paper / emeralds in inventory
- Multiple lecterns ready
This makes enchantment hunting extremely efficient.
🎯 Result
Less manual villager resetting.
More time progressing.
Available Versions
How to Install Auto Best Enchantments 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.2).
Install Mod
Open the mod browser in the dashboard and search for "Auto Best Enchantments". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Auto Best Enchantments 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.2). You can switch loaders with one click in the panel.
Is Auto Best Enchantments compatible with fabric?
Auto Best Enchantments officially supports fabric for Minecraft 26.2, 26.1.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Auto Best Enchantments – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Auto Best Enchantments 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 Best Enchantments with just one click on your server.