Custom Piglin Bartering

Custom Piglin Bartering

Mod

Give piglins different items to receive different loot!

Server Game Mechanics MobsUtility

858 downloads
11 followers
Created3 years ago
Updated3 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

This mod is for the Fabric mod loader and Minecraft Versions

Also works on Quilt!

Modrinth Downloads CurseForge Downloads

Requires Fabric API

Like this mod? Coindrop.to me or Buy me a coffee

Mod loader Fabric Mod loader Fabric

Discuss on Discord License MIT Source Code on GitLab gitlab issues

Custom Piglin Bartering works server-side and in singleplayer.


Custom Piglin Bartering

Allows datapacks 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.

If you'd like more details on the project, you can follow the project wiki linked above, or you can follow this link to go straight to datapack formatting.


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.

External resources



Project members

supersaiyansubtlety

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID