ModsFinder

Better Piglin Trades

by Saereth

Better Piglin Trades replaces the piglin bartering table with a data-driven system, so modpack makers can define trades in datapacks.

ForgeNeoForgeClient and serverMIT LicenseOpen source1.20.1 – 26.1.2

What it does

Piglin bartering is set by JSON files instead of code. A trade names the input item the piglin accepts, a list of possible output items with average quantities, and a loot table that holds the weights and amounts. Trades can be added, overridden or removed, and a priority field decides which definition wins when two target the same input, with the higher value taking precedence.

The mod ships with three default trade tiers covering gold nuggets, ingots and blocks. Authors can keep those, replace them or build their own tiers by adding files to a datapack. Pointing a trade at an empty loot table removes its rewards without deleting the definition, which helps when balancing a pack.

The project is open source under the MIT License and requires Minecraft 1.21.1 on NeoForge, with Forge files for 1.20.1. Servers that run it need every player to install it too. Just Enough Items is optional: once installed, pressing U over a trade item shows the possible barter rewards.

Key features

  1. Datapack-defined trades

    Piglin bartering is described in JSON, so trades change without any Java code or recompiling.

  2. Priority-based overrides

    A priority field lets a higher-valued trade replace an existing one for the same input item.

  3. Weighted loot tables

    Loot table weights and quantities control how often each output appears and how many items a piglin gives.

  4. Default trade tiers

    Three built-in tiers of gold nuggets, ingots and blocks provide a starting set of bartering rewards.

  5. JEI barter lookup

    With Just Enough Items installed, pressing U over a trade item lists the rewards a piglin can return.

Compatibility

Latest build for each game version and loader.

26.x2 of 2 versions with builds
26.1.2Not available26.1.2-1.2.0
26.1.1Not available26.1.1-1.1.0
1.21.x11 of 11 versions with builds
1.21.11Not available2.0.0
1.21.10Not available1.0.0
1.21.9Not available1.0.0
1.21.8Not available1.0.0
1.21.7Not available1.0.0
1.21.6Not available1.0.0
1.21.5Not available1.0.0
1.21.4Not available1.0.0
1.21.3Not available1.0.0
1.21.2Not available1.0.0
1.21.1Not available1.21.1-1.2.0
1.20.x1 of 1 version with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Optional 1

Just Enough Items (JEI)View Items and Recipes
Optional

Use cases

Who it’s for: Modpack makers and datapack authors who want to change piglin bartering, and players who want to check what a piglin can give before trading.

How it compares

Full comparison

Piglins Trade Gold Blocks is server required with client optional, under the GNU General Public License v3.0 only, and covers only 26.2 – 26.3 across Fabric, Forge, NeoForge and Quilt. Fast Piglin Trades is also server required with client optional and under the GNU General Public License v3.0 only, but targets 1.21.5 – 26.3. Fair Bartering is server-side only, open source under the MIT License, and covers 1.21.1 – 1.21.11 on Fabric, Forge and NeoForge.

ModLoadersGame versionsEnvironmentUpdated
Better Piglin TradesForge and NeoForge1.20.1 – 26.1.2Client and server2026-10-02
Piglins Trade Gold BlocksFabric, Forge, NeoForge and Quilt26.2 – 26.3Server required, client optional2026-10-07
Fast Piglin TradesFabric, Forge, NeoForge and Quilt1.21.5 – 26.3Server required, client optional2026-10-03
Fair BarteringFabric, Forge and NeoForge1.21.1 – 1.21.11Server-side only2026-01-13

Questions

Does Better Piglin Trades need Just Enough Items?

No. Just Enough Items is optional and only adds the U-key barter lookup when it is installed.

Which loaders and versions does Better Piglin Trades support?

Forge files exist for 1.20.1, and NeoForge files exist for 26.1.2. Files also cover 1.21.1 – 26.1.2 across 14 release versions.

Does the server need the mod for custom trades to work?

Yes. Installation covers the server and each player's game.

In the catalog

Better Piglin Trades is one of 19,031 Adventure mods on ModsFinder, and one of 10,478 Adventure mods for Forge. 15,189 mods support Minecraft 26.1.2.

More from Saereth

All projects

Similar mods

What the author says

Better Piglin Trades transforms piglin bartering into a fully data-driven system that modpack makers can customize without writing any code. Then create a matching loot table with your desired rewards!
Saereth, on the Modrinth page

Official listing

Owner
Saereth
Published
2026-01-08
Updated on Modrinth
2026-10-02
Facts verified
2026-10-15

Tags