Better Piglin Trades

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.

by
406 Downloads
neoforgeadventuregame-mechanicsutility
Rent Server with this Mod

About this Mod

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

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1+

Optional

  • JEI (Just Enough Items) - For viewing possible barter outputs

Available Versions

betterpiglintrades 26.1.1-1.1.0release
MC 26.1.1neoforge
April 8, 2026
Better Piglin Trades 2.0.0release
MC 1.21.11neoforge
January 9, 2026
Better Piglin Trades 1.0.0release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11neoforge
January 8, 2026

How to Install Better Piglin Trades on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (26.1.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Better Piglin Trades". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

26.1.1, 1.21.11, 1.21.10 (+9 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Better Piglin Trades server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.1). You can switch loaders with one click in the panel.

Is Better Piglin Trades compatible with neoforge?

Better Piglin Trades officially supports neoforge for Minecraft 26.1.1, 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Better Piglin Trades – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Better Piglin Trades consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Better Piglin Trades with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.11.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.3+2 more