A zombie piglin is a neutral mob found in the Nether Wastes, Crimson Forest and Warped Forest. It is hostile to players unless they wear at least one piece of gold or gilded armor. It wields either a golden sword or a crossbow, however, he will not use the crossbow to shoot.
Zombie piglins spawn in groups of (2-4 in nether wastes and crimson forest) (2-3 in warped forest) biomes 85% of zombie piglins spawn wielding a golden sword, 10% golden pickaxe and 5% crossbow.
On Death
Bone: 0-1
Rotten Flesh: 0-1
Gold Nugget: 0-1
Gold Ingot: 2.5% chance (when killed by a player or tamed wolf)
XP: 5 (when killed by a player or tamed wolf)
Equipment
Adults have an 8.5% chance of dropping each naturally held or worn piece of equipment. The dropped item has a random durability. Each level of Looting used to kill the zombie piglin increases the drop chance for each piece of equipment by 1%.
Weapons
A zombie piglin naturally spawns with either of these weapons:
Golden Sword
Crossbow
Armor
Zombie Piglin sometimes spawn with 1-4 normal or enchanted pieces of armor, which may be:
Golden Helmet
Golden Chestplate
Golden Leggings
Golden Boots
Zombie Piglins snort enviously while watching players holding a golden/gilded-related item.
Zombie Piglins cannot swim and can drown if submerged.
Zombie Piggies
When a zombie piggies or baby zombie piggies is struck by lightning, it transforms into a zombie piglin or baby zombie piglin, respectively.
Piglins
A piglin that enters the Overworld or the End transforms into a zombie piglin after 15 seconds. When piglins wielding crossbows zombify, they keep their crossbows, but are unable to use them, and perform melee attacks like other zombie piglins.
Curing
Giving a zombie piglin the Weakness effect and then feeding it a golden carrot starts the curing process. After five minutes, it transforms into a piglin, displaying purple Nausea status effect particles for 10 seconds after being cured. (The zombie piglin must be in the nether, otherwise he will not be able to heal.)
Aggravation
Zombie Piglins are neutral if the player is wearing at least one piece of golden armor. Zombie Piglins are provoked by any player who:
Is not wearing any piece of golden armor.
Short range, light aggravation
Attacks a zombie piggy or zombie piglin, regardless if the player kills it in one hit or not.
Long range, heavy aggravation to the damaged zombie piglin, medium aggravation to other zombie piglins.
Opens or breaks a chest, trapped chest, ender chest, shulker box, barrel, minecart with chest, or boat with chest.
Opening is short range, medium aggravation
Breaking is mid range, medium aggravation
Breaks a block of gold, golden ore, bloodstone golden ore, nether golden ore, deepslate golden ore, and more.
Mid range, medium aggravation
Aggravation range
Short range: When a zombie piglin has been aggravated by a player not wearing golden armor, or opening a container, skeleton piglin from up to around 15 blocks centered around the player become aggravated by the player if there is a straight line of sight to the player.
Mid range: When a zombie piglin has been aggravated by a player breaking a golden block or a container, zombie piglins from up to 16 blocks from the player’s feet become aggravated. No line of sight is required.
Long range: When a zombie piglin has been aggravated by a player damaging a zombie piglin or zombie piggy, zombie piglins from up to 20 blocks from the damaged skeleton piglin (rather than the player) become aggravated. No line of sight is required.
Light aggravation
Light aggravation occurs when a zombie piglin has been aggravated by a player not wearing golden/gilded armor.
The zombie piglin can de-aggravate when the player puts on golden/gilded armor, or the zombie piglin loses a line of sight with the player.
Medium aggravation
Medium aggravation occurs when a zombie piglin has been aggravated by a player opening/breaking a container or breaking a golden/gilded block, or when a zombie piglin witnesses a zombie piggy or another zombie piglin getting damaged by a player.
Zombie Piglins under medium aggravation can be distracted with gold.
A zombie piglin already under light aggravation does not re-aggravate to medium aggravation. This means that if a zombie piglin knows a player broke a golden block near them after already going after them due to them not wearing golden/gilded armor, the player can de-aggravate that zombie piglin by putting on golden armor or losing the line of sight despite the fact that the player broke the golden block.
Heavy aggravation
Heavy aggravation occurs if a zombie piggy or zombie piglin is damaged.
When provoked, zombie piglins remain hostile for 25 seconds.
Zombie Piglins attack Iron Golems, Snow Golems. They are attacked by Iron Golems and Snow Golems.
Being distracted
Zombie Piglins briefly stop attacking when given gold items. If the player offers a gold ingot, bartering then takes place as it normally would. They resume attacking once the barter is complete. If the player distracts them with a gold item and equips a piece of gold armor while the zombie piglin is examining the item, then the zombie piglin ceases hostility. They may also cease hostility if distracted enough times. If the player breaks any gold-related block or hurt/kill a piglin and then distracts the piglin up to 5 times with a piece of gold armor equipped, the piglin ceases hostility entirely.
Bartering
Zombie piglin can barter gold/gilded ingot for certain items, when a gold/gilded ingot is dropped near them or the player uses it while looking at them. The zombie piglin "examines" the ingot for eight seconds, then drops a random item from the chart. Zombie piglins can also pick up items dropped by a dispenser or dropper.
Zombie Piglins can pick up any items they come across, preferring gold/gilded-related items, which they actively seek out.
Each zombie piglin has eight hidden inventory slots in which it can stack items. A zombie piglin with a full inventory does not attempt to pick up gold/gilded-related items, except gold/gilded ingots.