Economical Villager Trading
New Villager Restocking System
This mod completely changes the standard restocking mechanics for villager trades. You no longer have to wait an entire day for villagers to replenish their trading supplies.
How It Works
When you completely use up one of a villager's trade offers, other offers are automatically restocked. If you exhaust an offer where you sell goods to the villager for emeralds, then all offers where the villager sells goods to you are immediately replenished. Conversely, when using a purchase offer, all sale offers are restocked.
Sale offers are defined as any transactions where the player receives emeralds. All other transactions are considered purchase offers.
Additional Features
Villagers also completely restore all their trade offers in the following cases:
- When the villager levels up
- When all trade offers become unavailable simultaneously
This ensures you never find yourself in a situation where trading with a villager is impossible.
Benefits of the New System
The main goal of the mod is to reduce the need to maintain multiple villagers with the same professions, which significantly reduces server performance load. Additional benefits:
- Eliminates tedious waiting for stock replenishment
- Encourages using diverse trade offers from a single villager
- Stimulates creating various farms for comprehensive trading
- Makes the villager economy more balanced
Configuration
The mod supports configuration through Cloth Config and Mod Menu, but they are not required. If Cloth Config is absent, default configuration values are used.
Available settings:
- Trade Adjustment Balance: Affects the speed of price changes during frequent trading. Higher values slow down changes, value -1 uses Minecraft's standard settings.
- Reputation-Based Price Adjustments: Takes player reputation into account when determining prices (curing zombie villagers, trading frequency, etc.)
- Experience Multiplier: Multiplies the amount of experience gained from trading with villagers
- Level Up During Trading: Allows villagers to level up directly during trading interactions
- Standard Restocking: Enables additional standard restocking several times per day
Compatibility
Economical Villager Trading works well with most modified villagers and trade offers. Compatibility features:
- If a villager has only purchase offers or only sale offers, they are restocked only after all available offers are completely used
- Trade offers are considered purchase offers if they give items with the "economical_villager_trading:buy_trade_currencies" tag (by default only emeralds)
- Mod and modpack creators can add new currencies to the appropriate tags
Localization
The mod supports automatic translation downloads through SSS Translate. You can help with translation on Crowdin.
This mod is developed for Fabric and compatible with Quilt. Porting to Forge is not planned, but the project is distributed under the MIT license, so other developers can create a port.