
GoldPiglin
This project is not completely finished yet, so there are usually some missing features.
GoldPiglin will not be ported to ModLoader, as there are already some mods with similar functionality there.
When you wear armor with gold patterns, the effect is the same as wearing gold armor.
Feature
- Piglins will ignore you when wearing armor with gold patterns.
- Emulate vanilla behavior [in v24.11.1]
- Enhanced behaviors, such as eye tracking
Adapter
It is recommended to use an adapter with NMS mode
- All adapters should behave exactly the same.
- The Spigot adapter is only available in Spigot and its forks (not in Paper).
- The Paper adapter is only available in Paper and its forks (not in Spigot).
- Spigot (NMS Mode) 1.20.1-26.2
- Paper (NMS Mode) 1.20.1-26.2
- NBTAPI 2.13.2
- RTag 1.5.10
Usage
Config
# Select according to your needs.
# Supported adapters: Spigot, Paper, NBTAPI, Rtag
# The Spigot adapter is compatible with 1.20.1-26.2, if Minecraft releases
# an update then you have to wait for the new GoldPiglin version
# (Paper adapter does not need to wait for updates most of the time).
adapter: NBTAPI
debug: false
update-message: true
hatred:
expiration-time: 20
expiration-scanner-time: 40
near:
# Area-wide hatred, closer to vanilla behavior, but may take longer to calculate.
enabled: false
x: 6
y: 6
z: 6
can-see:
# Whether only Piglin within the player's sight will trigger hatred
enabled: true
# Use Spigot's own canSee API instead of GoldPiglin's line of sight calculation
native: false
# Inverted line of sight calculations to calculate entity line of sight instead of player line of sight
reversal: false
Permission
- goldpiglin.command.reload [default: OP]
- goldpiglin.command.version [default: OP]
- goldpiglin.update_message [default: OP]
Command
- /goldpiglin:gpiglin <reload|version> [/gpiglin]
License
This work has a restrictive license in addition to the original license to prevent some unexpected behavior, see 404Setup Public License
Depend
- Java17 at least (Java 21 is recommended)
- NBT-API v2.13.2 (Optional)
- RTag v1.5.10 (Optional)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20, 1.20.1, 1.20.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as GoldPiglin-26.1.1-all.jar — drop this file into the mods folder
- Download size: 121 KB
- Download link checked 29 Aug 2026 — working
These come from our own check of the pack file, not from the source page.