Zombified piglins have more health (20 HP) than piglins (16 HP). Since piglins convert to zombified piglins, they essentially gain health.
- Summon a piglin
- Inspect its Health
Notice it says 16.0f
- Wait until the piglin has converted to a zombified piglin and use the last command again
Notice it says 20.0f