This mod does two things.
It can cause pigmen to become peaceful and calm when a nearby player dies, ending the cycle.
And it can make pigmen aggro on players when they mine certain blocks, with a percentage chance.
New feature: PacifyIronGolems is turned on by default which disables all aggro and damage from iron golems to players.
You can customize and disable anything in config file.