GoldPiglin
When you wear armor with gold patterns, the effect is the same as wearing gold armor.
This project is not completely finished yet, so there are usually some missing features.
Feature
- Piglins will ignore you when wearing armor with gold patterns.
- Emulate vanilla behavior [in v24.11.1]
- Enhanced behaviors, such as eye tracking
Usage
Config
use-concurrent-map: false
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.greload [default: OP]
Command
- /goldpiglin:greload [/greload]
License
Use Apache-2.0 as the license.
If you publish my work elsewhere, you need my permission first and you must redirect the download source to my Modrinth, Curseforge, Hangar, SpigotForum and Github pages and keep the original link. You cannot declare this project as yours.
Depend
- Java21 at least
- NBT-API v2.13.2