When you attack Pigman that is inside a Nether portal, It and the pigmans around it won't attack you, until you get close to the pigman that you attacked.
Edit: The Pigman make a sound when you hit it.
Comments 5
I attacked a Zombie Pigman which was inside a Nether portal as well, and it got angry at me. So, I could not reproduce the problem you had, as for me everything works fine.
Cannot reproduce. The zombie pigman now tries to kill me 😞