Piglin's aggression towards players not wearing gold armour should be tweaked

Instead of basically 'kill on sight', what would be changed is that if a Piglin does approach the player within a range, the Piglin will stop and stare warily at player like Illager Patrols, accompanying with a sound and subtitle that reads "Piglin snorts warily", which is essentially a warning sound.

Should the player get too close, the Piglin will attack the player. Likewise, angering the Piglin in any way will cause them to go aggressive even within the "warning" range.

There would be two ranges around Piglin: Warning Range and Hostile Range.

  • Warning Range: Piglin will stand and stare at the player warily. This would be between 8-15 blocks.
  • Hostile Range: Getting closer than 8 blocks while not wearing gold armour will cause the Piglins to go hostile.