Piglin

Piglins are hostile 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 one or more pieces of golden armor. Players can barter with piglins using gold to receive random items.

Spawning
Piglins spawn in crimson forests and bastions in groups of 4 and uncommonly in the nether wastes biomes in groups of 2 to 4. 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 and do 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 make retreat noises and retreat from zombified piglins, zoglins, soul fire, soul torches, soul lanterns, and soul campfires.

Piglins cannot swim in water. They drown when submerged.

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 their hand, nearby piglins make envious noises.

Attacking
Baby piglins are not hostile, while just 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 are not provoked if a player near them opens another container such as a hopper, furnace, brewing stand, etc. Hence, hoppers can be used to extract items from chests without aggravating the piglins.

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. However, opening some containers do not provoke piglins; for example, hoppers can be opened safely, allowing loot to be stolen from bastions, which is an intentional feature by Mojang.

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 backward (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 then takes place as it normally would. However, they resume attacking once the barter is complete. As of snapshot 20w20a, this earns the player the advancement: "Oh Shiny".

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:


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

Zombification


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

ID




Trivia

 * Baby piglins never grow up.
 * Piglins can put on any type of head / skull that are on the ground, including carved pumpkins.
 * A piglin dismounts a boat or minecart when admiring a gold-related item.
 * In the Banner Pattern Snout, there is a Piglin snout. This is the same in the Chiseled Blackstone.

Gallery

 * Renders