Mineuniverse
Log in Register
Mods

Better Piglin Trades

Data-driven piglin bartering! Define custom trade items and loot tables via datapacks. Includes tiered trades for gold nuggets, ingots, and blocks with JEI support.
by Saereth
Download Claim this project
827 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Ores and Resources Utility & QoL

Features

Better Piglin Trades transforms piglin bartering into a fully data-driven system that modpack makers can customize without writing any code.

Tiered Trading System

The mod includes three default trade tiers:

Trade Item Reward Quality
Gold Nugget Basic rewards - iron nuggets, soul sand, fire charges
Gold Ingot Standard rewards - ender pearls, potions, obsidian (vanilla-like)
Gold Block Premium rewards - netherite scrap, diamonds, enchanted books

Fully Customizable

Create your own trades by adding JSON files to your datapack:

Trade Definition (data/mypack/piglin_trades/emerald.json):

{
  "item": "minecraft:emerald",
  "loot_table": "mypack:gameplay/piglin_bartering/emerald",
  "priority": 0
}

Then create a matching loot table with your desired rewards!

JEI Integration

When JEI is installed, press "U" on any trade item to see all possible barter rewards. The display shows:

  • The input item required
  • All possible output items with average quantities

For Modpack Makers

  • Add new trades: Create trade definitions for any item
  • Override existing trades: Use the priority field (higher wins)
  • Remove trades: Point to an empty loot table
  • Balance rewards: Full control over loot table weights and quantities

Optional

  • JEI (Just Enough Items) - For viewing possible barter outputs
betterpiglintrades 26.1.1-1.1.0
MC NeoForge, 26.1.1
Release 2026-04-08 Get

More from Saereth

Tinker's Construct Crafting Station Fix
56,187
Auroral
522,051
Create: AeroPortals
43,540
Actually Additions: Tiers
3,622
Nutrition Unofficial Extended Life Continued
3,535
Bloodmagic: Teams
34,323

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998