Better Piglin Trades
ModData-driven piglin bartering! Define custom trade items and loot tables via datapacks. Includes tiered trades for gold nuggets, ingots, and blocks with JEI support.
Type
Mod
Modrinth Downloads
241
Modrinth ID
v5cY5EAR
Last Updated
Apr 12, 2026
Description
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 booksFully 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
Requirements
- Minecraft 1.21.1
- NeoForge 21.1+
Optional
- JEI (Just Enough Items) - For viewing possible barter outputs
Compatibility
Mod Loaders
Game Versions
Similar Mods
Nametag Render Fix
Defer nametag rendering to fix translucency issues.
Stackable Planar Dimensions
An easily configurable dimension stacker. Reach any dimension without the need for portals!
The Lost City x [ST] Drive
This mod spawns cars from [ST] Drive in The Lost City (and Abandoned Urban with config mod)
Patchouli's Library
Quickly access all Patchouli books and other guides via buttons in your inventory
Mooshees
a mod that adds a new mob to the Mushroom Islands, the mooshes >:DD, they dont do anything.. just chill
CobbleVerse Progress
It's a progression mod for Cobblemon that adds a complete system of 195 challenging tasks to expand your gameplay experi...