Custom Piglin Bartering

Give piglins different items to receive different loot!

5,00k

Custom Piglin Bartering

<!--required for Modrinth centering --> <center> <div style="text-align:center;line-height:250%">

Custom Piglin Bartering

environment: server

<a href="https://quiltmc.org/"><img alt="available for: Quilt Loader" width=73 src="https://raw.githubusercontent.com/QuiltMC/art/master/brand/1024png/quilt_available_dark.png"></a> <a href="https://modrinth.com/mod/fabric-api/versions"><img alt="Requires: Fabric API" width="60" src="https://i.imgur.com/Ol1Tcf8.png"></a>

<a href="https://coindrop.to/supersaiyansubtlety"><img alt="coindrop.to me" width="82" style="border-radius:3px" src="https://coindrop.to/embed-button.png"></a> <a href="https://ko-fi.com/supersaiyansubtlety"><img alt="Buy me a coffee" width="106" src="https://i.ibb.co/4gwRR8L/p.png"></a>

</div> </center>

---

Give piglins different items to receive different loot!

Works server-side and in single player.

Allows data packs to: 1. ~~define a list of items that piglins are attracted to~~ removed because this is now handled by the base game's `piglin_loved` item tag 2. define a list of items that piglins will barter for 3. 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.

ADS