Home›Java›Mods›Piglin Join WTO
Piglin Join WTO
ModsJava

Piglin Join WTO

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by mai_xiyu · on CurseForge

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.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.5 · Forge⬇ Download for 1.21–1.21.5 · NeoForge⬇ Download for 1.21 · Fabric
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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

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 by weight

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

Supported Platforms

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more