Piglin

Piglins are neutral mobs that spawn in the Nether. They are equipped with crossbows or golden swords. While they are normally hostile toward the player, they become neutral if the player wears golden armor. The player is capable of bartering with them.

Spawning
Groups of 1–10[be] piglins in crimson forests, bastions and uncommonly in the nether wastes biomes. 5% spawn as babies.

Adult piglins spawn with either golden swords or crossbows and sometimes wearing golden armor. Baby piglins spawn without any equipment.

Piglins do not despawn in peaceful mode not spawn on magma blocks.

Drops
Piglins have an 8.5% chance of dropping their naturally-spawned equipment and drop it with random durability. Each level of Looting increases this chance by 1%.

Any picked-up items always drop, without changing the durability.

Java Edition
A piglin that is hit while inspecting a gold ingot during bartering puts the ingot in its inventory. This gold ingot is dropped upon death. If killed in one hit while inspecting, the gold has the same chance to drop as any other held item.

Naturally-spawned equipment

 * Random Golden Armor
 * Random Golden Armor
 * Random Golden Armor

Experience
Adult piglins drop experience and an extra  experience per equipment if killed by a player or tamed wolf.

Baby piglins drop and an extra  per equipment if killed by a player or tamed wolf.

Behavior
Baby piglins play with baby hoglins, running with them and mounting them. $$, only 10% of baby piglins can mount baby hoglins. $$, any piglin can, and up to 3 piglins stacked on top of each other may ride a baby hoglin.

Piglins that are not currently attacking retreat from zombified piglins, zoglins, soul fire, soul fire torches, soul fire lanterns, and soul campfires.

Piglins cannot swim in water and will drown instead.

Despite being a Nether mob, piglins are not naturally immune to fire damage.

Piglins are capable of opening doors.

When a player holds any item related to gold in its hand, nearby piglins will make envious noises.

Attacking
Baby piglins are passive, while the adults are hostile. If a player is wearing at least one piece of gold armor, they become neutral. Piglins are provoked when players attack them, break or open a chest, trapped chest, ender chest, barrel, or a shulker box near them. They are also provoked by a player breaking blocks of gold, gold ore, gilded blackstone and nether gold ore. However, they will not be provoked if a player near them opens another container such as a hopper, furnace, brewing stand, etc.

Piglins can detect the breaking and opening of blocks within a range of 16 blocks in a straight line from the player (this can be altered with the invisibility effect). The block interacted with does not require a line of sight to anger the Piglins.

Adult piglins attack wither skeletons and withers. Additionally, they also attack adult hoglins, but keep a distance of 6 blocks if outnumbered. After defeating a hoglin, there is a $1/7$ chance for piglins to do a victory dance.

Adult piglins group together within radius 32 blocks and attack in hordes like zombified piglins.

When attacking with a crossbow, piglins shoot arrows every 2 seconds. $$, they walk backwards (stopping if at the edge of a drop) as soon as the player is close. Unlike bow-armed mobs, they do not strafe from left to right while shooting. Piglins with swords and other equipable items rush at the player.

Iron golems attack both adult and baby piglins; adults do not attack an iron golem until it attacks first.

Piglins can briefly stop attacking the player if they are given gold; bartering will take place as it normallly would. However, they will resume attacking once the barter is complete.

Picking up items
Any piglin can pick up and equip any gold related item, regardless of their ability to pick up other items. A piglin inspects any gold-related item for a moment after picking it up.

Piglins have eight hidden inventory slots in which they can stack items. When a piglin with a full inventory encounters another item, it picks up the item and then throws it on the floor after contemplating it, leading to a cycle of continuously picking up and discarding the item. Baby piglins attempt to pick up any item and can steal from players. Adult piglins can pick up any golden item and porkchops, but they don't actively seek out and contemplate porkchops and gold nuggets; instead, if either of those items is nearby, they instantly place it in their inventory. Piglins drop any of these items upon death aside from gold ingots, raw porkchops and cooked porkchops.

Like other mobs capable of picking up items, piglins pick up armor and weapons. However, unlike other mobs, they prefer items in the gold tier or armor material, and throw away stronger items to equip these.


 * Items that piglins want:
 * (piglins barter something else in return, see )
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (wear when piglin is done looking)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)


 * Items crafted with gold that piglins are not interested in:

Zombification


When in the Overworld, piglins transform into zombified piglins after 15 seconds. When they transform, they retain their armor (but drop held items) and gain a golden sword. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds. $$, piglins in the End also transform into zombified piglins.

Entity data
Note to editors: Piglins store hunts in the brain tag.

Trivia

 * Adult piglins cannot ride on other entities; if summoned as a passenger they immediately dismount.
 * Baby piglins never grow up.
 * Piglins can put on any type of head / skull that are on the ground and in the case of pumpkins only the carved one.

Gallery

 * Renders