Piglin

Piglins are neutral mobs found in the Nether. Initially, they are hostile toward the player, but they become neutral if the player wears at least one piece of gold armor. If the player mines gold (gold block, nether gold ore, gold ore or gilded blackstone), opens a container (chest, trapped chest, ender chest, barrel or shulker box), or breaks nether wart near them, they will become hostile even with gold armor equipped. They are equipped with crossbows or golden swords. Players can barter using gold ingots to receive various items.

Spawning
Piglins spawn in groups of 4 in crimson forests, bastion remnants and nether wastes at light level of 11 or less, even in Peaceful mode. 5% spawn as babies.

Drops
Adults have an 8.5% chance of dropping the held item (a or  with random durability). Each Looting level increases this chance by 1%.

Babies spawn without anything.

A picked up item always drops without changing the durability.

Armor
Adults sometimes spawn with 1-4 pieces, which are normal or enchanted and may be:

These are dropped with an 8.5% chance and random durability.

Experience
Adults drop five points and more per armor piece if killed by a player or tamed wolf. Baby piglins drop.

Behavior
Baby piglins are passive and play with baby hoglins, running around and mounting. Up to 3 piglins may stack on top of each other while riding a baby hoglin.

Idle piglins retreat from zombified piglins, zoglins, soul fire, soul torches, soul lanterns, and non-extinguished soul campfires.

Piglins cannot swim and drown if submerged, despite being living mobs; this was programmed into the game intentionally. They are not naturally immune to fire or lava.

Piglins can open wooden doors.

Piglins will watch players holding a gold related item, while snorting enviously.

Baby piglins can be given gold, but they cannot barter anything.

Hostility
The adults are hostile, but if the player is wearing at least one piece of gold armor, they become neutral. Piglins are provoked when players attack or when a nearby chest, trapped chest, ender chest, barrel or shulker box is opened or broken. Hence, hoppers can be used to extract items from chests without aggravating. Breaking gold blocks, gold ores, gilded blackstones, and nether gold ores also provoke. Piglins remain hostile for 30 seconds if the player provokes in these ways.

$$, when a piglin is attacking, it holds its sword in front of it, similar to a vindicator. $$, a piglin holds its arms in front of it, similar to a zombie.

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.

Adults attack wither skeletons, withers and adult hoglins. If outnumbered by hoglins, they flee. After defeating a hoglin, piglins have a 10% chance to do a "victory dance" by bobbing their heads and sticking out their arms.

Adult piglins group together within 16 blocks and attack in hordes.

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 briefly stop attacking by giving gold items; bartering then takes place as it normally would if given a gold ingot. They resume attacking once the barter is complete. The only exception is if a piglin is attacking a player because the player isn't wearing any gold armor. If the player distracts them with a gold ingot and equips a piece of gold armor while the piglin is examining the gold ingot, then the piglin will give the player an item in return and then end hostility.

Bartering
Piglins trade gold ingots for certain items, when a gold ingot is dropped or the player uses it while looking at them. The Piglin will appear to examine the ingot for six seconds or eight seconds then drop a random item from the chart.

Picking up items
Any piglins 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 6 seconds after picking it up. However, piglins will not pick up any items if the MobGriefing gamerule is set to false.

Piglins have eight hidden inventory slots in which they can stack items. Piglins with full inventories will not attempt to pick up gold related items, except gold ingots. Baby piglins attempt to pick up any item and can steal from players. Adult piglins can pick up gold nuggets and porkchops (they don't actively seek out and contemplate porkchops) and 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: (These items are listed in the .)
 * (piglins barter something else in return, see Bartering)
 * (worn after being examined)
 * (worn after being examined)
 * (worn after being examined)
 * (worn after being examined)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)
 * (piglins barter something else in return, see Bartering)
 * (worn after being examined)
 * (worn after being examined)
 * (worn after being examined)
 * (worn after being examined)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)
 * (worn after being examined)
 * (worn after being examined)
 * (worn after being examined)
 * (equipped if piglin is using a non-gold weapon or crossbow, or doesn't already have one)
 * (worn after being examined)
 * (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)
 * (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)


 * Other items related to gold that piglins are not interested in:

Zombification


When in the Overworld or the End, piglins transform into zombified piglins after 15 seconds, retaining their armor and held items. However, they can not shoot a crossbow and will only melee the player with it. 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 or skull from the ground, including carved pumpkins.
 * In the banner pattern "snout", there is a piglin snout. This is the same in the chiseled blackstone.
 * If a piglin drops a charged crossbow, the dropped crossbow includes the loaded arrow.