promotional bannermobile promotional banner

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.
affiliate banner image

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

Better Piglin Trades Team

profile avatar
Owner
Grand Artisan tier icon
  • 31
    Followers
  • 33
    Projects
  • 13.1M
    Downloads
Donate

More from SaerethView all

  • Auroral project image

    Auroral

    Harness the power of the Aurora Borealis in the wintery north. Collect Liquid Aura in Glacial Basins to craft Shimmersteel tools and Shimmerweave armor with unique abilities. Features Nether-free brewing, magical flora, a rideable Flying Nautilis.

    • 2.3M
    • October 23, 2026
  • Hephaestus Tools project image

    Hephaestus Tools

    An add-on for Hephaestus Forge focused on adding modular tools.

    • 120.3K
    • October 22, 2026
  • Hephaestus Forge project image

    Hephaestus Forge

    A complete forge mod that allows you to melt down ores and equipment.

    • 142.1K
    • October 22, 2026
  • Horse Powered project image

    Horse Powered

    Hand-cranked and animal-powered machinery focusing on early game grinding, chopping, pressing, drying, and crushing. Leash horses, donkeys, or llamas to automate the line or generate Forge Energy. Data-driven recipes with full JEI, EMI, and Jade support.

    • 128.0K
    • October 22, 2026
  • Auroral project image

    Auroral

    Harness the power of the Aurora Borealis in the wintery north. Collect Liquid Aura in Glacial Basins to craft Shimmersteel tools and Shimmerweave armor with unique abilities. Features Nether-free brewing, magical flora, a rideable Flying Nautilis.

    • 2.3M
    • October 23, 2026
  • Hephaestus Tools project image

    Hephaestus Tools

    An add-on for Hephaestus Forge focused on adding modular tools.

    • 120.3K
    • October 22, 2026
  • Hephaestus Forge project image

    Hephaestus Forge

    A complete forge mod that allows you to melt down ores and equipment.

    • 142.1K
    • October 22, 2026
  • Horse Powered project image

    Horse Powered

    Hand-cranked and animal-powered machinery focusing on early game grinding, chopping, pressing, drying, and crushing. Leash horses, donkeys, or llamas to automate the line or generate Forge Energy. Data-driven recipes with full JEI, EMI, and Jade support.

    • 128.0K
    • October 22, 2026