The bug
Piglins are hostile towards Wither Skeletons and therefore should always attack them. However, Piglins only attack Wither Skeletons when they are in a group of at least two.
To reproduce
Spawn a Wither Skeleton
Spawn a Piglin
→ ❌ It will not attackSpawn a second Piglin
→ ✔ Now they do attack
Linked issues
is duplicated by 2
Comments 2
Pretty sure that this is intended, the changelog even says
Piglins prefer to hunt and fight in groups
But them preferring to fight in groups doesn't mean that they won't do it at all. So, leaving open for the devs to decide.
Sounds like a smart piglin. I would only hunt in groups too.