This mod is for the Fabric mod loader and
Also works on Quilt!
Custom Piglin Bartering works server-side and in singleplayer.
Custom Piglin Bartering
Allows datapacks to:
- - define a list of items that piglins are attracted to removed because this is now in the base game using the item tag 'piglin_loved'
- define a list of items that piglins will barter for (using piglib since version 1.1)
- 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.
If you'd like more details on the project, you can follow the project wiki link above, or you can follow this link to go straight to datapack formatting.
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.