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–3 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 nor 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.

Attacking
Baby piglins are passive and adults 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.

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 invisibility effect). The block interacted with does not require a line of sight to anger the Piglins. Piglins cannot detect the breaking and opening of blocks when they are contemplating an item that they have just picked up.

Adult piglins attack wither skeletons and withers. Additionally, they also attack adult hoglins, but keep a distance of 6 blocks if outnumbered. In Bedrock, 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 os 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.

The item pickup affinity of adult piglins ranks over their want to attack, i.e, they stop to pickup items made of gold ingots even when in their provoked state. Only items that piglins inspect have this effect. The bartering mechanism works when the piglin is provoked. After inspecting and putting away the item, the piglin returns to its provoked state and continues to seek and attack the player. However, if it picks up four items in a row, it returns to its unprovoked state.

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 Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)
 * (Wear When Piglin Done Looking)


 * 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.

Sounds
Java Edition:

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.


 * Renders