Fixed Villager Trades Mod (Fabric)
The word "Fixed" in the mod name doesn't mean fixing broken trades, although that interpretation is also possible. Actually, it means that villager trades become fixed when they acquire a profession. You can still change their profession (this option is available), but you won't be able to reroll trades to find desired items. Trade offers will remain unchanged for each profession no matter how many times you replace their workstations.
This change is most noticeable with librarians and the Mending enchantment. Before version 1.14, you couldn't cycle through professions to get the desired enchanted book. As a result, Mending - the most powerful enchantment in the game - was extremely difficult to obtain. Starting from version 1.14, you could endlessly place and remove lecterns until you got a cheap source of Mending. In my opinion, this is a serious oversight by Mojang. This mod offers a simple solution for those who agree with this.
Additionally, the mod limits the maximum discount in trading. The default setting is 50%.
🧰 Installation
The mod works entirely on the server side. It's not necessary to install it on the client. Players with the vanilla game version can join servers with this mod and experience its effects. Fabric API is not required for operation, only fabric loader.
⚙ Configuration
Three mod functions can be configured and used independently of each other.
-
FixedTrades
- Whether to fix villager trades when they acquire a profession. Value: true or false. Default: true.
-
FixedProfessions
- Whether to fix villager professions after acquiring them. Value: true or false. Default: false.
-
MaxDiscount
- Maximum discount in trading. Value from 0.0 (no discount) to 1.0 (default behavior). Default: 0.5.
📜 License
Copyright 2022 Quplet, Apache License 2.0. Please credit the author when using or distributing my work.