The Pigman General is a minor character and was leading the Zombie Pigmen.
The Pigman General found the NPCs and Gameknight999, he was ready to battle Gameknight, but Mason battled him instead. Mason let the Pigman General damage him, but then Mason started attacking him, and soon destroyed the Pigman General.
The Pigman General is much like Xa-Tul, he is very dumb and tends to attack anything in his way. It led to his death.