
Auto Best Enchantments
Automates the process of breaking and replacing lecterns to refresh librarian villager trades.
✨ 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.
