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.

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

The Better Piglin Trades Team

HighCrafter tier frameprofile avatar
Owner
HighCrafter tier icon
  • 23
    Followers
  • 23
    Projects
  • 1.8M
    Downloads

More from SaerethView all

  • Just Enough Spirits project image

    Just Enough Spirits

    • 40
    • Mods

    Just Enough Spirits adds JEI recipe support for Malum spirits. See at a glance which mobs drop which spirits with a live entity preview and spirit output list.

    • 40
    • July 7, 2026
    • Mods
    • +1
  • FTB Presents: Direwolf20 - Season 14 project image

    FTB Presents: Direwolf20 - Season 14

    • 186.7K
    • Modpacks

    Join Direwolf20 for an immersive Minecraft journey set in the minecraft 1.21 mod ecosystem. Brought to you by an FTB and Direwolf20 collaboration!

    • 186.7K
    • July 6, 2026
    • Modpacks
    • +2
  • Animus project image

    Animus

    • 6.0M
    • Mods

    Bloodmagic addon with rituals and more

    • 6.0M
    • July 6, 2026
    • Mods
    • +1
  • Neo Vitae project image

    Neo Vitae

    • 236.7K
    • Mods

    Spill blood for power. Altars that consume life, sigils that bend the world, custom demons in an endless dungeon, sentient armor that drinks souls, a shield that pays your damage in essentia. Datapack-driven from the ground up.

    • 236.7K
    • July 3, 2026
    • Mods
    • +2
  • Just Enough Spirits project image

    Just Enough Spirits

    • 40
    • Mods

    Just Enough Spirits adds JEI recipe support for Malum spirits. See at a glance which mobs drop which spirits with a live entity preview and spirit output list.

    • 40
    • July 7, 2026
    • Mods
    • +1
  • FTB Presents: Direwolf20 - Season 14 project image

    FTB Presents: Direwolf20 - Season 14

    • 186.7K
    • Modpacks

    Join Direwolf20 for an immersive Minecraft journey set in the minecraft 1.21 mod ecosystem. Brought to you by an FTB and Direwolf20 collaboration!

    • 186.7K
    • July 6, 2026
    • Modpacks
    • +2
  • Animus project image

    Animus

    • 6.0M
    • Mods

    Bloodmagic addon with rituals and more

    • 6.0M
    • July 6, 2026
    • Mods
    • +1
  • Neo Vitae project image

    Neo Vitae

    • 236.7K
    • Mods

    Spill blood for power. Altars that consume life, sigils that bend the world, custom demons in an endless dungeon, sentient armor that drinks souls, a shield that pays your damage in essentia. Datapack-driven from the ground up.

    • 236.7K
    • July 3, 2026
    • Mods
    • +2