Custom Piglin Bartering

Custom Piglin Bartering

Give piglins different items to receive different loot!

by
5.3K Downloads
fabricquiltgame-mechanicsmobsutility
Rent Server with this Mod

About this Mod

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.

Available Versions

Custom Piglin Bartering 1.9.0+MC26.1-26.1.xrelease
MC 26.1, 26.1.1, 26.1.2fabric, quilt
May 9, 2026
1.8.0+MC1.21.11release
MC 1.21.11fabric, quilt
January 4, 2026
1.7.5+MC1.21.2-1.21.10release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10fabric, quilt
October 20, 2025
1.7.4+MC1.21.2-1.21.8release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric, quilt
July 19, 2025
1.7.3+MC1.21.2-1.21.7release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7fabric, quilt
July 2, 2025

How to Install Custom Piglin Bartering on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Custom Piglin Bartering". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+29 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Custom Piglin Bartering server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Custom Piglin Bartering compatible with fabric and quilt?

Custom Piglin Bartering officially supports fabric, quilt for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Custom Piglin Bartering – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Custom Piglin Bartering consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Custom Piglin Bartering with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+22 more