
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:
- Create a datapack
- Create a file named trade_availability.json in the data/origin-classes/powers/ folder
- Use the following template:
{
"type": "originclasseszoomerpatch:infinite_trade_zoom",
"loading_priority": 111,
"modifier": {
"name": "Merchant Trade Tries Bonus",
"value": 0.5,
"operation": "addition"
}
}
- 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