
Price Lock
Stops villager trade prices creeping up: the demand markup is cleared on every trade and when you open a villager.
About this Mod
Price Lock
Stops villager trade prices from creeping up. The deal you found stays the deal you get — no more 60-emerald mending books on a long-lived world.
On a long-running world, villager prices inflate as demand-based markup accumulates. The Paper plugins that fix this don't run on vanilla NeoForge/Fabric servers; Price Lock does the same thing as a mod.
It clears the demand markup after every trade and again whenever you open a villager, so prices are flat the moment the GUI opens. One server-config toggle, freezePrices (default on), editable in the Mod Config GUI. No commands.
It works on vanilla villagers, wandering traders, and modded villagers that use the vanilla trade system (More Villagers, trade datapacks, anything extending AbstractVillager). Fully-custom merchant entities with their own pricing are out of scope — they don't have vanilla's demand inflation to begin with. No mixin.
v0.1 clears the markup on trade and on GUI-open (the zero-mixin approach that's certain to work); freezing the internal demand counter outright would need a mixin and is intentionally out of scope for now.
Server-side — install on the server only.
Free to use in any modpack. Source and issues: https://github.com/KURONAMI333/price-lock
Available Versions
How to Install Price Lock on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Price Lock". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Price Lock server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Price Lock compatible with fabric and forge and neoforge?
Price Lock officially supports fabric, forge, neoforge for Minecraft 1.21.1, 1.20.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Price Lock – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Price Lock consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Price Lock with just one click on your server.