Better Piglin Trades: Custom Bartering for Minecraft

Better Piglin Trades turns piglin bartering into a data-driven system with tiered rewards and full datapack customization for Minecraft.

Better Piglin Trades

Piglin bartering has always been one of the most rewarding loops in Minecraft's Nether, but the vanilla loot pool is a fixed list that modpack makers cannot touch without writing code. Better Piglin Trades changes that by turning every barter into a fully data-driven system. Whether you want a gentle rebalance or a complete economy overhaul, this add-on hands you the controls.

What Better Piglin Trades Does

At its core, the add-on replaces the hardcoded piglin bartering table with a structure built from JSON files. That means pack authors can add, override, or remove trades without touching a single line of Java. The mod ships with sensible defaults, so it works out of the box even if you never open a datapack folder.

Tiered Trading System

The default configuration splits bartering into three tiers based on the item you offer:

  • Gold Nugget — basic rewards such as iron nuggets, soul sand, and fire charges.
  • Gold Ingot — standard rewards including ender pearls, potions, and obsidian, closely mirroring vanilla behavior.
  • Gold Block — premium rewards like netherite scrap, diamonds, and enchanted books.

This tiering alone makes bartering feel more intentional. Casual players get a reason to save their gold blocks, while server owners can tune each tier independently.

Fully Customizable Trades

Creating your own trade is a two-step process. First, add a trade definition to your datapack, for example at data/mypack/piglin_trades/emerald.json:

  • item — the item the player offers, such as minecraft:emerald.
  • loot_table — the loot table that defines the rewards.
  • priority — controls which definition wins when several target the same item.

Then create a matching loot table with your desired rewards. That is the entire workflow. Modpack makers can add trades for any item, override existing ones by raising the priority value, or remove a trade entirely by pointing it at an empty loot table. Reward balance is handled through standard loot table weights and quantities, so you get full control over drop chances and stack sizes.

If you manage several packs at once, the foxygame.net launcher keeps things tidy: its add-on catalog installs Better Piglin Trades in one click and flags version mismatches before they break a world.

JEI Integration

When Just Enough Items is installed, bartering becomes transparent. Press "U" on any trade item to see every possible output along with average quantities. The display shows the required input item and all potential rewards, which is invaluable for players exploring a heavily modded pack where the loot pool has been rewritten.

Supported Versions and Loaders

Better Piglin Trades is available for modern Minecraft releases on both Fabric and NeoForge, with datapack support matching the game version you run. Because the system is data-driven, updating your pack between minor versions usually means adjusting JSON paths rather than rewriting logic. Always check the file for the exact Minecraft version and loader combination before you download Better Piglin Trades for a live server.

How to Install

  • Confirm your Minecraft version and loader, then place the add-on jar in your mods folder.
  • Launch the game once so the default trade files generate.
  • For custom trades, open your world's datapacks folder and add your trade definitions and loot tables.
  • Run /reload to apply changes without restarting.

Knowing how to install is half the battle; the rest is testing. Start with one custom trade, verify it in-game, then expand.

Final Thoughts

Better Piglin Trades for Minecraft fills a gap that has frustrated pack authors for years. It respects vanilla balance by default, rewards creativity through datapacks, and stays readable thanks to JEI support. If your modpack touches the Nether economy at all, this add-on deserves a spot in your load order.