Librarian Trade Finder
A fabric mod that helps you find the enchantments you need from a Librarian Villager.
Installation
Download the jar from modrinth.
If you are playing on a server using an old minecraft version consider using ViaFabric to use the latest client version.
Or clone the repository and run ./gradlew build.
The compiled jar should be under build/libs/.
Usage
- Encase the villager in a 1x1 area.
- Place down a Lectern in front of the villager.
- (Optional) Set Keybindings (Open Config Screen [Default:
C], Start/Stop Search [Default:O], Select Lectern [Default:I]) - Look at the Lectern and either press keybinding to Select (Default:
I) or execute/tradefinder select. - Put enough lecterns in your off-hand and an axe in your main-hand. The faster the axe can break the lectern, the faster the mod will be able to search.
- Open Config Screen with the keybinding (Default:
C) or execute/tradefinder config. - On the left side, select the enchantments you want to search for, by simply clicking on them. Then enter the maximum price and level you want to search for.
- Configure the other settings on the right to your liking.
- Either press the Button
Start Search, exit the config screen and press the keybinding to start the search (Default:O) or execute/tradefinder start. - If you want to stop the search before you found the enchantment, execute
/tradefinder stopor press the keybinding (Default:O).
Usage Demo Video
1.19.4 and below
click to view
Common Steps
- Encase the villager in a 1x1 area.
- Place down a Lectern in front of the villager.
- Look at the Lectern and execute
/tradefinder select. - Put enough lecterns in your off-hand and an axe in your main-hand. The faster the axe can break the lectern, the faster the mod will be able to search.
Continuation Single Search
- Execute
/tradefinder searchSingle <enchantment> <maxPrice>to start searching for you preferred enchantment. As soon as the mod found it, it will stop the search and message you. - If you want to stop the search before you found the enchantment, execute
/tradefinder stop.
Continuation List Search
- Execute
/tradefinder configor open the config gui using modmenu. - Switch to 'List Enchantments' Tab. Then select all the enchantments you want to search for.
- Execute
/tradefinder searchListto start searching for the list. As soon as the mod found any enchantment you selected, it will stop the search and message you. - If you want to stop the search before you found a enchantment, execute
/tradefinder stop.
Demo
Common Issues
- The error: "You are not looking at a lectern."
- Make sure you are looking at the lectern and not the villager.
- The lectern doesn't get broken.
- Some anti-cheats can prevent breaking the lectern or interacting with the villager if you are not looking at it.
- My Lecterns are disappearing.
- Sometimes the lecterns dropped, can get behind the lectern or somewhere else. Stop the mod, break the lectern, and try to find all the items. Then start the search again.
If you have any further issues, create an issue on my github or message me on Discord @greenman999.
All Versions
+ Add VersionThanks to MotWnb <3
Special thanks to P3nguinMinecraft
Display attempts in found message (Thanks to KominoStyle)
Remove debug output
- Added Slow Mode
- small bug fixes
- Add support for 1.20.2
- Command to single search an enchantment
- Some Bugfixes
- Fixed Version 1.20.1
- Added feature to prevent starting the search, when no lectern is selected or no enchantments are selected.
### Whole new UI
- Updated to 1.19.4
- Added "legit" mode, sets the player's rotation to where to lectern is placed or the villager is
- Added feature to put Lecterns into the offhand if the offhand is empty
- Added config option to tp to the villager to pick up items that dropped behind the lectern
- Fixed issue with config not found
- Excluded swift sneak and soul speed enchantments from enchantments list
- New List Search Feature
- Dropped Support for 1.19.2
- Added axe breaking prevention
- Fixed interacting with the librarian
- Added Axe Breaking Prevention
- Fixed interacting with the librarian
