Back to mods
Piglin Join WTO project artwork

CurseForge · Minecraft mod

Piglin Join WTO

A mod that allows Piglins to trade like villagers. This mod only needs to be installed on the server and will not affect the behavior of vanilla Piglins.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Piglin Join WTO release should I use?

Updated 1 year ago
Latest stable file pjwto-neoforge-1.21-1.0.jar
Game version 1.21, 1.21.5, 1.21.4
Loader NeoForge

Piglin Join WTO pjwto-neoforge-1.21-1.0.jar targets 1.21, 1.21.5, 1.21.4 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Piglin Join WTO required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Piglin Join WTO pjwto-neoforge-1.21-1.0.jar need?

pjwto-neoforge-1.21-1.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Piglin Join WTO without breaking your instance.

Built for Piglin Join WTO pjwto-neoforge-1.21-1.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use pjwto-neoforge-1.21-1.0.jar. It targets 1.21, 1.21.5, 1.21.4 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside pjwto-neoforge-1.21-1.0.jar. It opens that exact file at the source.

About this project

What does Piglin Join WTO add?

Piglin Join WTO Mod (PJWTO)

A mod that allows Piglins to trade like villagers. This mod only needs to be installed on the server and will not affect the behavior of vanilla Piglins.

Features

  • Server-side only: Only needs to be installed on the server; no client installation required
  • Vanilla compatibility: Does not affect vanilla Piglin behavior of picking up gold ingots for trading or player interactions with held gold ingots
  • Intelligent trading system: Generates trades based on Piglin loot tables; rarer items require more gold ingots
  • Custom trades: Supports adding custom trade items via configuration file
  • Experience rewards: Trades grant experience points, with rarer items giving more experience

Usage

  1. Right-click adult Piglins with an empty hand: Opens the trading interface when right-clicking an adult Piglin with an empty hand
  2. Gold ingot trading: Use gold ingots to purchase items from Piglin loot tables
  3. Vanilla behavior preserved: Right-clicking Piglins while holding gold ingots still triggers vanilla trading logic

Trading Rules

Loot table-based trades

  • Gold ingot requirements are calculated based on the item's weight in Piglin loot tables
  • Items with lower weights require more gold ingots
  • Trades are sorted by the number of gold ingots required, from least to most

Gold ingot requirements by weight

  • Weight 1 (rarest): Requires 15 gold ingots
    • Books, iron boots, fire resistance potions, splash potions of fire resistance
  • Weight 2 (rare): Requires 13 gold ingots
    • Iron nuggets, ender pearls
  • Weight 4 (uncommon): Requires 9 gold ingots
    • String, nether quartz
  • Weight 8 (common): Requires 1 gold ingot
    • Obsidian, crying obsidian, fire charges, leather, soul sand, nether bricks, glowstone dust, gravel, blackstone

Custom Trades

The mod generates a piglin_trades.json file in the configuration directory, which you can edit to add custom trades.

Configuration file example

{
  "_comment": "Piglin trading configuration. Define custom trades here.",
  "custom_trades": [
    {
      "result_item": "minecraft:diamond",
      "result_count": 1,
      "cost_a_item": "minecraft:gold_ingot",
      "cost_a_count": 10,
      "cost_b_item": "",
      "cost_b_count": 0,
      "max_uses": 5,
      "experience": 10
    },
    {
      "result_item": "minecraft:enchanted_golden_apple",
      "result_count": 1,
      "cost_a_item": "minecraft:gold_ingot",
      "cost_a_count": 32,
      "cost_b_item": "minecraft:apple",
      "cost_b_count": 1,
      "max_uses": 1,
      "experience": 50
    }
  ]
}

Configuration parameter explanations

  • result_item: The ID of the resulting item from the trade
  • result_count: The quantity of the resulting item
  • cost_a_item: The ID of required trade item A
  • cost_a_count: The quantity of required trade item A
  • cost_b_item: The ID of required trade item B (can be empty)
  • cost_b_count: The quantity of required trade item B
  • max_uses: Maximum number of uses
  • experience: Experience points gained from the trade

Supported Platforms

  • Minecraft Forge 1.21
  • Minecraft Fabric 1.21
  • Minecraft NeoForge 1.21

Installation

  1. Download the mod file for your platform
  2. Place the mod file in the server's mods folder
  3. Start the server
  4. The configuration file will be automatically generated in the config folder

Notes

  • This mod only needs to be installed on the server; no client installation is required
  • Piglins must be adult and non-zombified to trade
  • Players must have an empty hand to trigger the trading interface
  • Vanilla Piglin behavior remains unchanged

Project description from CurseForge.

Pick your setup

Piglin Join WTO by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

13 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Piglin Join WTO versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.