Origins Classes Merchant Infinite Trade Patch — Minecraft Mods — MetaMods

Origins Classes Merchant Infinite Trade Patch

Active

Downloads

0

Last update

1 year ago

Versions

1.20.1 — 1.20.6
Client and server
Forge
Economy
Utils

Origins Classes Merchant Infinite Trade Patch

This mod is a patch for the Origin Classes port for Forge that balances the Merchant class.

Main Function

The modification changes the Merchant class, which in the original mod had infinite trades. This mechanic disrupted the economic balance on multiplayer servers. With this patch, the number of available trades with the same item is doubled instead of being infinite.

Configuring Trade Quantity

You can change the number of available trades using a custom datapack:

  1. Create a datapack
  2. Create a file named trade_availability.json in the data/origin-classes/powers/ folder
  3. Use the following template:
{ 
  "type": "originclasseszoomerpatch:infinite_trade_zoom", 
  "loading_priority": 111, 
  "modifier": { 
    "name": "Merchant Trade Tries Bonus", 
    "value": 0.5, 
    "operation": "addition" 
  } 
}
  1. Change the value property to your preference:
    • 0 means the same number of trades as in vanilla
    • 1 means infinite trades
    • 0.5 means double the number of trades compared to vanilla
Project members
Pandaismyname1

Pandaismyname1

Developer

Created: 27 Jul 2024

ID: 48991