Give piglins different items to receive different loot!
Works server-side and in single player.
Allows data packs to:
define a list of items that piglins are attracted toremoved because this is now handled by the base game'spiglin_loved
item tag- define a list of items that piglins will barter for
- map each barterable item to a loot table that represents possible bartering returns
By default, it separates the vanilla barters into 3 tiers mapped to gold nuggets, ingots, and blocks.
Information on creating data packs and other details can be found on the wiki.
Translating
If you'd like to help translate Custom Piglin Bartering, you can do so on
Crowdin.
This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however, so anyone else is free to port it.
I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.