Automatically Complete a Trade Once the Right Offer Appears
Enable Auto-Trade Mode
In the mod's settings menu, find the Auto-Trade or Auto-Complete Trade option and enable it. This feature allows the mod to automatically exchange emeralds for the enchanted book once your goal is found.
Prepare Your Emeralds
Before starting automation, ensure your inventory contains enough emeralds to complete the trade. The mod will use emeralds from your inventory when the matching trade appears.
Set Your Goal and Start
Configure your enchantment goal (e.g., Mending, level, and price range) as normal. When you activate the auto-refresh, the mod will:
1. Break and replace the lectern repeatedly
2. Detect when a matching trade appears
3. Automatically trade with the villager
4. Stop the automation
Verify Success
Check your inventory for the enchanted book. The villager's trade will now be locked, and you can use this librarian for future trades without the book changing.