Auto Best Enchantments
Automates the process of breaking and replacing lecterns to refresh librarian villager trades.
Auto Best Enchantments
✨ 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:
```bash id="w0p9aa" /autolec add [enchantment]? [(min level, max level)/min/max/any] [(min price, max price)/min/max/any] ````
📌 Examples
Mending at the cheapest possible price
```bash id="d0n22s" /autolec add minecraft:mending max min ```
Mending at any price
```bash id="2w0h0f" /autolec add minecraft:mending max any ```
Sharpness V at any price
```bash id="l0w9fd" /autolec add minecraft:sharpness 5 5 any ```
Any level Unbreaking between 10 and 32 emeralds
```bash id="p2k1xm" /autolec add minecraft:unbreaking any 10 32 ```
All enchantments at max level and minimum price
```bash id="o3v7de" /autolec add max min ```
---
▶️ Start Cycling
Look directly at the lectern and run:
```bash id="j3s8tm" /autolec start ```
---
⛔ Stop Cycling
```bash id="x1t4sa" /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:
```bash id="w5r9qa" /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
```bash id="n8e2vr" /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
```bash id="p9u1ft" /autolec breakCooldown ```
Disables Minecraft's normal block break delay.
---
📝 Chat Logs
```bash id="g8w2la" /autolec log ```
Shows found trades in chat.
---
⚡ Pre Break
```bash id="m7f6qs" /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
```bash id="r1d0vz" /autolec preserveTool ```
Stops automatically before your tool breaks.
---
📦 Item Sync
```bash id="e7y3qp" /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
```bash id="h6v9ze" /autolec list ```
3️⃣ By Index
```bash id="u2n8pk" /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.