All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Fixed Villager Trades

Fixed Villager Trades

by Quplet • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Fixed Villager Trades Mod (Fabric)

"Fixed" in the title doesn't mean I'm fixing broken trades, however you can definitely interpret it that way. What it means is that Villager trades are now fixed the moment they get a profession. This does not prevent you from changing their profession (though the option to do so is available), only you won't be able to reroll their trades to get what you want. The villagers trades will remain the same as it was for each profession no matter how many times you replace their workstation.

Obviously the biggest thing affected by this is librarian villagers and the Mending Enchantment. Prior to 1.14, you couldn't reroll professions to get your desired enchanted book. As a result, Mending, the most powerful enchantment in the game, was really hard to get. With 1.14+, you can place and replace a lectern over and over until you get yourself a nice cheap Mending dispenser. This, in my opinion, is a large oversight from Mojang. This mod merely implements the simplest solution for those who want it.

This mod also limits the max discount a villager trade can have. The default is set to 50%.

🧰 Setup

This mod can function entirely serverside. It is not necessary to install it on the client. Servers this is installed on can have vanilla players join and experience the effects. It does not require the Fabric API, only the fabric loader.

⚙ Configuration

The three functions of this mod can be configured and used independently.

FixedTrades

Whether villager trades are fixed to their profession upon generation. Must be either true or false. Default is true.

FixedProfessions

Whether villager professions are fixed upon acquiring them. Must be either true or false. Default is false.

MaxDiscount

The maximum discount a trade can have. Must be between 0.0 (No discount) and 1.0 (Vanilla behavior). Default is 0.5.

📜 License

Copyright 2022 Quplet, Apache License 2.0. Please credit if you use or distribute my work.

Kinetic Server Hosting Banner

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x 1.20.6
Fabric Quilt
1d ago 1
1.21 1.20.x
Fabric Quilt
1d ago 1
1.20.x 1.19.x
Fabric Quilt
1d ago 1
1.19.x
Fabric Quilt
1d ago 1
1.19.x 1.18.x 1.17.x
Fabric Quilt
1d ago 1
1.19 1.18.x 1.17.x
Fabric Quilt
1d ago 1
1.19 1.18 1.17
Fabric Quilt
1d ago 1
1.19 1.18 1.17
Fabric Quilt
1d ago 1
Fixes/Changes:
  • Fixed crash caused by regression in configuration library (#2)
Changes/Fixes:
  • Updated to 1.20.5/6
Changes:
  • Added option to fix a villager's profession upon acquiring one

Build will only work with 1.19.3+. For prior releases, use 1.1.2.
  • Updated to 1.19.3

Due to internal changes with the registry, this version will only work on 1.19.3 and possibly newer versions. For 1.19.2 or older, use version 1.1.2.
Fixes:
  • Fixed bug where zombified villagers would forget their saved professions after being reloaded (either from restarting the world/server or leaving and reloading the chunk they're in)
Fixes:
  • The Max Discount feature now properly works only server-sided
  • Fixed a crash in the server environment
New:
  • Added the ability to limit the max discount that a villager trade can have (default is 100% ie, vanilla)
  • Added a config file that can enable/disable the fixed trades feature and control the max discount percentage

Fixes:
  • Fixed villagers forgetting trades after being cured
Fixed Villager Trades Icon
Download Fixed Villager Trades
Select game version
Select platform