ModsFinder

Custom Piglin Bartering

by supersaiyansubtlety

Custom Piglin Bartering lets server owners define which items piglins accept and what loot each barter returns, through data packs.

FabricQuiltServer-side onlyMIT LicenseOpen source1.17 – 26.3

What it does

Piglins normally trade gold for a fixed set of items. This mod replaces that table with data-driven lists: one list names the items piglins barter for, another names the items they are attracted to, and a loot table per barterable item sets the possible returns. The default configuration keeps the vanilla barters and sorts them into three tiers, with gold nuggets, ingots and blocks as the reward groups.

The mod works on a server and in single-player worlds, since only the server applies the changes. Its data packs are loaded with Fabric API, which is required. Fabric and Quilt builds are published, and the code is released under the MIT License, which lets anyone port it to another loader. Game versions run 1.17 – 26.3, and the latest file targets 26.3.

Creating custom barter data is described in the project wiki, and the translation of the mod's text is managed on Crowdin for anyone who wants to help with it. A Forge build is not provided, so Forge servers cannot run the mod.

Key features

  1. Per-item barter loot

    Each barterable item can point to its own loot table, so different items return different rewards.

  2. Attracted item list

    A separate list defines which items piglins are drawn to, while vanilla attraction is handled by the base game.

  3. Data pack support

    Barter and attraction lists are defined in data packs, so a world can change them without editing the jar.

  4. Three-tier default

    The default data groups vanilla barters into three levels, with rewards that scale from nuggets up to blocks.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.31.10.0+MC26.3.x1.10.0+MC26.3.x
26.21.9.1+MC26.1-26.2.x1.9.1+MC26.1-26.2.x
26.1.21.9.0+MC26.1-26.1.x1.9.0+MC26.1-26.1.x
26.1.11.9.0+MC26.1-26.1.x1.9.0+MC26.1-26.1.x
26.11.9.0+MC26.1-26.1.x1.9.0+MC26.1-26.1.x
1.21.x12 of 12 versions with builds
1.21.111.8.0+MC1.21.111.8.0+MC1.21.11
1.21.101.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.91.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.81.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.71.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.61.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.51.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.41.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.31.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.21.7.5+MC1.21.2-1.21.101.7.5+MC1.21.2-1.21.10
1.21.11.6.0+MC1.21-1.21.11.6.0+MC1.21-1.21.1
1.211.6.0+MC1.21-1.21.11.6.0+MC1.21-1.21.1
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Questions

Does Custom Piglin Bartering need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside the mod.

Does the client need the mod installed?

No. The mod runs on the server only, so players can join a server running it without installing anything.

Can the barter tables be changed without a new build?

Yes. The barter and attraction lists are data pack files, so the defaults can be replaced by a data pack.

Is there a Forge version?

No. Only Fabric and Quilt builds are published, and the code can be ported to other loaders under the MIT License.

In the catalog

Custom Piglin Bartering is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 8,071 mods support Minecraft 26.3.

More from supersaiyansubtlety

All projects

Similar mods

What the author says

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…
supersaiyansubtlety, on the Modrinth page

Official listing

Owner
supersaiyansubtlety
Published
2021-06-10
Updated on Modrinth
2026-09-27
Facts verified
2026-10-15

Tags