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_loveditem 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.
How to Install Custom Piglin Bartering (Mod)
Custom Piglin Bartering by supersaiyansubtlety is verified for Fabric, Quilt across Minecraft versions 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 (latest release: 1.10.0+MC26.3.x, file size: 39 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Custom Piglin Bartering file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 1mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
From 1.5.0: port 1.4.0 to 1.20.5-1.20.6
From 1.4.0:
entire gold nugget stacks are taken for barter instead of just one
- made it so piglins won't drop non-gold barterable items in favor of gold items
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
From 1.4.0:
entire gold nugget stacks are taken for barter instead of just one
- made it so piglins won't drop non-gold barterable items in favor of gold items
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
- made it so piglins won't drop non-gold barterable items in favor of gold items
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)
- Updated for 1.21
- Updated translations
A cumulative changelog can be found [here](https://gitlab.com/supersaiyansubtlety/custom_piglin_bartering/-/blob/master/CHANGELOG.md)


