promotional bannermobile promotional banner

Custom Piglin Bartering

Give piglins different items to receive different loot!
With the built-in datapack, piglins will give you either a soul speed enchanted item or a netherite hoe in exchange for a gold block.

With the built-in datapack, piglins will give you either a soul speed enchanted item or a netherite hoe in exchange for a gold block.

Description

Custom Piglin Bartering

Minecraft versions environment: server

loader: Fabric available for: Quilt Loader

Requires: Fabric API supports: Mod Menu

license: MIT source on: GitLab issues: GitLab localized: Percentage

Modrinth: Downloads CurseForge: Downloads

chat: Discord coindrop.to me Buy me a coffee


Give piglins different items to receive different loot!


Works server-side and in single player.

Allows data packs to:

1. ~~define a list of items that piglins are attracted to~~ removed because this is now handled by the base game's piglin_loved item tag

2. define a list of items that piglins will barter for

3. map each barterable item to a loot table that represents possible bartering returns

By default, it separates the vanilla barters into 3 tiers mapped to gold nuggets, ingots, and blocks.

Information on creating data packs and other details can be found on the wiki.


Translating

localized: Percentage

If you'd like to help translate Custom Piglin Bartering, you can do so on Crowdin.

 


This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however, so anyone else is free to port it.

I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.

The Custom Piglin Bartering Team

profile avatar
  • 26
    Followers
  • 25
    Projects
  • 4.5M
    Downloads

More from supersaiyansubtletyView all

  • Dispenser Configurator project image

    Dispenser Configurator

    • 61.8K
    • Mods

    Configure the vanilla Dispenser to use (almost) any item. Data driven.

    • 61.8K
    • May 8, 2026
    • Mods
  • Ghastly Wail project image

    Ghastly Wail

    • 4.7K
    • Mods

    When a ghast dies in a portal, the frame becomes crying obsidian and shatters.

    • 4.7K
    • May 8, 2026
    • Mods
  • Recipe Reshaper project image

    Recipe Reshaper

    • 6.7K
    • Mods

    Dynamically replaces whole categories of recipes with (subjectively) improved ones. Data driven.

    • 6.7K
    • May 7, 2026
    • Mods
  • Wither Cage Fix project image

    Wither Cage Fix

    • 130.2K
    • Mods

    Fixes vanilla bug where withers forget their targets. Can also prevent blue skulls.

    • 130.2K
    • May 4, 2026
    • Mods
    • +1
  • Dispenser Configurator project image

    Dispenser Configurator

    • 61.8K
    • Mods

    Configure the vanilla Dispenser to use (almost) any item. Data driven.

    • 61.8K
    • May 8, 2026
    • Mods
  • Ghastly Wail project image

    Ghastly Wail

    • 4.7K
    • Mods

    When a ghast dies in a portal, the frame becomes crying obsidian and shatters.

    • 4.7K
    • May 8, 2026
    • Mods
  • Recipe Reshaper project image

    Recipe Reshaper

    • 6.7K
    • Mods

    Dynamically replaces whole categories of recipes with (subjectively) improved ones. Data driven.

    • 6.7K
    • May 7, 2026
    • Mods
  • Wither Cage Fix project image

    Wither Cage Fix

    • 130.2K
    • Mods

    Fixes vanilla bug where withers forget their targets. Can also prevent blue skulls.

    • 130.2K
    • May 4, 2026
    • Mods
    • +1