Villager Cure Discounts

Cure discounts stack again and can be shared with everyone
emberbocor | Villager Cure Discounts
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

Villager Cure Discounts

Make curing zombie villagers worth it again.

Since Java Edition 1.20.2 the discount for curing a zombie villager no longer grows: the first cure already gives the full discount, and only the player who cured the villager gets it. Villager Cure Discounts lets the discount grow again with every cure, up to a limit you choose, and lets a cured villager give its cure discount to every player who trades with it.

Features

  • Stacking cures. Zombify and cure the same villager again and its prices drop again, up to maxCures cures (default 5, the limit Minecraft had before 1.20.2).
  • Shared discount. A cured villager also gives its cure discount to players who did not cure it, including players who meet it later. Every cure by anyone counts.
  • No double discount. Each player gets the larger of their own cure discount and the shared one, never both added together.
  • Vanilla everywhere else. The price formula, hitting villagers, trading, Hero of the Village, iron golems and the way curing works are untouched.
  • Server-side only. Players join with a plain vanilla client and see the discounted prices in the normal trading screen.
  • Configurable. maxCures = 1 with sharing turned off is plain vanilla.

How it works

  • Each cure adds the vanilla cure gossip again until the villager has been cured maxCures times.
  • The shared discount stays with that villager. When villagers gossip with each other it is never passed on, and the strong cure gossip never spreads.
  • Stacks survive restarts and stay with the villager when it turns into a zombie villager and is cured again.
  • Iron golems still judge each player by that player's own reputation.

Versions

Minecraft Loader Requires File
26.3 NeoForge 26.3.0.0-beta+ (stable 26.3.0.76+) Java 25 villagercurediscounts-neoforge-26.3-1.0.0.jar
26.3 Forge 66.0.0+ Java 25 villagercurediscounts-forge-26.3-1.0.0.jar
26.3 Fabric Loader 0.19.3+ Fabric API 0.160.6+, Java 25 villagercurediscounts-fabric-26.3-1.0.0.jar
26.2 NeoForge 26.2.0.0-beta+ (stable 26.2.0.57+) Java 25 villagercurediscounts-neoforge-26.2-1.0.0.jar
26.2 Forge 65.0.0+ Java 25 villagercurediscounts-forge-26.2-1.0.0.jar
26.2 Fabric Loader 0.18.4+ Fabric API 0.152.2+, Java 25 villagercurediscounts-fabric-26.2-1.0.0.jar
26.1 - 26.1.2 NeoForge 26.1.0.1-beta+ (stable 26.1.2.71+) Java 25 villagercurediscounts-neoforge-26.1-26.1.2-1.0.0.jar
26.1 - 26.1.2 Forge 62.0.0+ (62 = 26.1, 63 = 26.1.1, 64 = 26.1.2) Java 25 villagercurediscounts-forge-26.1-26.1.2-1.0.0.jar
26.1 - 26.1.2 Fabric Loader 0.18.4+ Fabric API 0.144.1+, Java 25 villagercurediscounts-fabric-26.1-26.1.2-1.0.0.jar
1.21.11 NeoForge 21.11.42+ villagercurediscounts-neoforge-1.21.11-1.0.0.jar
1.21.11 Forge 61.0.1+ villagercurediscounts-forge-1.21.11-1.0.0.jar
1.21.11 Fabric Loader 0.17.3+ Fabric API 0.139.5+ villagercurediscounts-fabric-1.21.11-1.0.0.jar
1.21.1 NeoForge 21.1.1+ villagercurediscounts-neoforge-1.21.1-1.0.0.jar
1.21.1 Forge 52.0.0+ villagercurediscounts-forge-1.21.1-1.0.0.jar
1.21 - 1.21.1 Fabric Loader 0.15.11+ Fabric API 0.102.0+ villagercurediscounts-fabric-1.21-1.21.1-1.0.0.jar

The Fabric jar bundles NightConfig (core and toml, LGPL-3.0) to read the TOML config. NeoForge and Forge already ship it.

Client and server

Install the mod on the server only. It adds no items, blocks, entities, commands, network messages or registries, so vanilla clients and modded clients without it can join. On Forge the mod is marked as server-only, so a Forge client without it still shows the server as compatible in the server list. On Fabric, Fabric API is only needed on the server.

Installing it on a client as well does no harm: prices are calculated on the server and sent with the trades. In singleplayer, install it in your own game; the built-in server runs it.

Configuration

config/villagercurediscounts-server.toml is created with comments on the first server or world start:

maxCures = 5
shareWithAllPlayers = true
  • maxCures sets how many cures of the same villager add up. Any whole number from 1 to 20; 1 is vanilla.
  • shareWithAllPlayers gives the cure discount to every player who trades with the villager, not only the one who cured it. With sharing off, the shared discount is hidden, not deleted, and returns when you turn it on again.
  • Lowering maxCures does not reduce a discount a villager already has. The next cure brings it down to the new limit.
  • Changes take effect after a server restart, or after closing and reopening a singleplayer world.
  • Mistakes do not crash the server: invalid values use the default and are logged as a warning.

FAQ

Do players need the mod? No. Only the server needs it. Players see the discounted prices in the vanilla trading screen.

Is there a version for Minecraft 1.20.1? No. It is not needed there: stacking cure discounts are still vanilla in 1.20.1.

What happens if I remove the mod? The world opens normally. Villagers keep their stacked discounts until the player who earned them cures that villager again, which brings it back to the vanilla limit. Shared discounts stop working, and return if you install the mod again.

Does it work with Villager Trade Peek and Villager Trade Swap? Yes. Villager Trade Peek shows locked trades with the stacked and shared discount, and trades rerolled with Villager Trade Swap get it too.

Does it work with Villager Trade Enchant? Yes. The Enchanter uses its own config prices, so cure discounts do not change them.

Does it work with other villager mods? Mods that change villager gossip, reputation or trade prices may interfere.

Can I use it in my modpack? Yes, go ahead. The mod is licensed under MIT.

Links

When reporting a bug, please include your Minecraft version, loader, mod version and your log file.

Villager Cure Discounts Team

profile avatar
  • 18
    Projects
  • 13.0K
    Downloads

More from emberbocorView all