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
priorityfield (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
No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
betterpiglintrades 1.20.1-1.2.1 1.20.1-1.2.1 |
1.20.1
|
forge
|
Download |
|
betterpiglintrades 1.20.1-1.2.0 1.20.1-1.2.0 |
1.20.1
|
forge
|
Download |
|
betterpiglintrades 1.21.1-1.2.0 1.21.1-1.2.0 |
1.21.1
|
neoforge
|
Download |
|
betterpiglintrades 26.1.2-1.2.0 26.1.2-1.2.0 |
26.1.2
|
neoforge
|
Download |
|
betterpiglintrades 26.1.1-1.1.0 26.1.1-1.1.0 |
26.1.1
|
neoforge
|
Download |
|
Better Piglin Trades 2.0.0 2.0.0 |
1.21.11
|
neoforge
|
Download |
|
Better Piglin Trades 1.0.0 1.0.0 |
1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
neoforge
|
Download |