Home›Java›Mods›Custom Piglin Bartering
Custom Piglin Bartering
ModsJava

Custom Piglin Bartering

Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.

by supersaiyansubtlety · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21.2–1.21.10 · Fabric⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.20.5–1.20.6 · Fabric⬇ Download for 1.20–1.20.4 · Fabric⬇ Download for 1.19.3–1.19.4 · Fabric⬇ Download for 1.19.2 · Fabric⬇ Download for 1.19.1 · Fabric⬇ Download for 1.18.2–1.19 · Fabric⬇ Download for 1.18–1.18.1 · Fabric⬇ Download for 1.17–1.17.1 · Fabric⬇ Download for 1.16–1.16.5 · Fabric⬇ Download for 1.21.11 · Quilt⬇ Download for 1.21.2–1.21.10 · Quilt⬇ Download for 1.21–1.21.1 · Quilt⬇ Download for 1.20.5–1.20.6 · Quilt⬇ Download for 1.20–1.20.4 · Quilt⬇ Download for 1.19.3–1.19.4 · Quilt⬇ Download for 1.18.2–1.19.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Custom Piglin Bartering — screenshot 1

Custom Piglin Bartering

Minecraft versions environment: server

loader: Fabric available for: Quilt Loader

Requires: Fabric API supports: Mod Menu

license: MIT source on: GitLab issues: GitLab localized: Percentage

Modrinth: Downloads CurseForge: Downloads

chat: Discord coindrop.to me Buy me a coffee


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

localized: Percentage

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more