Piglib

Piglib

Mod

A mod to help other modders and datapack creators mess with Piglins

Client and server LibraryUtility

484 downloads
3 followers
Created3 years ago
Updated3 months ago

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

Adds item tags for various Piglin related things that Mojang were too silly to add themselves! Useful for mods which add new items that should interact with Piglins, or for datapack makers.

Tags include:

  • piglib:piglin_bartering_items - Items in this tag, when picked up by a Piglin or right clicked with, will result in the Piglin bartering

  • piglib:piglin_safe_armor - Items in this tag, when worn in an armor slot, will prevent nearby Piglins from being angered

  • piglib:piglin_loved_nuggets - Items in this tag, when picked up by Piglins, will be picked up as a whole stack like gold nuggets rather than one at a time. Piglins will not actively seek out these items. Items in this tag should not also be in the vanilla minecraft:piglin_loved tag

Note that adding items to any of these tags doesn't automatically add them to minecraft:piglin_loved, so if you want Piglins to actively seek out the items when dropped on the ground, you will need to add to that as well.

This can be Jar-in-Jar'd to your Fabric mods! Use JitPack.

External resources



Project members

Shnupbups

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
required
Project ID