Piglin Hunt Fix
Improves Piglin hunting behavior while enhancing compatibility with crossbows from other mods.
Extended crossbow compatibility
This mod extends Piglin weapon checks to support any item inheriting from CrossbowItem. Crossbows tagged with piglinhuntfix:crossbow_piglin_do_not_use would not be used by piglin, which means Piglin will fall back to melee attack holding the items.
Piglins use Spectral Arrows against Hoglins
When a Piglin attacks a Hoglin, any normal arrow it fires is replaced with a Spectral Arrow. This also improves lore consistency, as Piglins provide spectral arrows through bartering.
- Configurable through
piglinUseSpectralArrow.
Glowing Hoglins trigger group aggression
When a Hoglin is glowing, it periodically alerts nearby Piglins and broadcasts a hunt. Players can therefore intentionally trigger hunts using spectral arrows or other glowing sources
- Configurable through
glowingHoglinBroadcastHunting
Hunting trigger logic fix
Fixes an issue in vanilla behavior (observed in 1.20.1 Forge) where the mere presence of other adult Piglins could unintentionally prevent hunting from starting.