Custom Piglin Bartering

Custom Piglin Bartering

17.2k Downloads

This mod is for the Fabric mod loader and Minecraft Versions

Also works on Quilt!

Modrinth Downloads CurseForge Downloads

Requires Fabric API

Like this mod? Coindrop.to me or Buy me a coffee

Mod loader Fabric Mod loader Fabric

Discuss on Discord License MIT Source Code on GitLab gitlab issues

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.