Piglin

Piglins are neutral mobs found in the Nether. They attack players on sight unless the player is equipped with at least one piece of golden armor. Players can use gold ingots to barter with them for various items.

Spawning
Piglins spawn in groups of 4 in nether wastes and crimson forest biomes, and within bastion remnants, at a light level of 11 or less $$, or 7 or less $$, even in Peaceful mode. Each piglin has a 20% or 5% chance of spawning as a baby.

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

In Java Edition a picked up item always drops with the same durability as when picked up. In Bedrock Edition armor picked up by piglins will lose durability and even break depending on how much damage the piglin takes. Piglins do not drop picked-up gold ingots, raw porkchops, or cooked porkchops.

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

These are dropped with an 8.5% chance and random durability. You may also put any armor type on a piglin by dropping a specific armor near one. Piglins will always choose to wear gold armor over any other type of armor.

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

Behavior
Piglins snort enviously while watching players holding a gold-related item.

Piglins can open and close wooden doors, like villagers. Also like villagers, they are unable to open gates, trapdoors, iron doors, and iron trapdoors.

Piglins cannot swim and drown if submerged; this is intentional behavior. They are not naturally immune to fire or lava.

Piglins pick up raw porkchops and cooked porkchops that are within 1 block from them, unless they've done so within the last 10 seconds.

Idle piglins retreat from zombified piglins, zoglins, soul fire, soul torches, soul lanterns, and lit soul campfires. Piglins ignore soul fire items when pursuing the player, but still run from zombified piglins $$. $$, piglins and zombified piglins often mill around together, ignoring each other. Baby piglins additionally retreat from wither skeletons and withers.

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

Baby piglins can be given gold, but they do not give anything in return and run away. Baby piglins can also pickup and wear armor as well as hold gold tools or weapons. They can also pick up dropped fungi.

Baby piglins never grow up; this is intentional behavior.

Hostility
Baby piglins are passive and never attack the player. Adult piglins, however, attack if they are aggravated. Piglin brutes are always hostile.

Aggravation
Adult piglins are neutral if the player is wearing at least one piece of golden armor. Piglins are provoked by any player who:
 * Is not wearing any piece of gold armor.
 * Attacks a piglin or piglin brute without killing it in one hit.
 * Opens or breaks a, , , , , , or.
 * Breaks a, , , or.

Piglins remain hostile for 30 seconds after provoked.

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 effect). The block interacted with does not require a line of sight to anger the piglin.

Piglins do not react to the opening or breaking of s, s, s, s, s, or s. Opening or breaking a does not provoke the piglins. Breaking a does not provoke them either, despite piglins admiring them as gold.

Attacking
When a piglin is attacking, it holds its dominant arm and sword in front of it, similar to a vindicator.

Adult piglins immediately attack wither skeletons and withers. Adults do not immediately attack adult hoglins on sight, but a piglin has a random chance to make the decision to hunt a hoglin (this decision almost never happens if the piglin recently hunted). Once that piglin attacks the hoglin, all other piglins become hostile to the hoglin. If outnumbered by hoglins, the piglins flee. After defeating a hoglin, piglins have a 10% chance to do a "victory dance" by bobbing their heads and sticking out their arms like a T-pose.

Adult piglins congregate 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 target is close. Their crossbows can break if it runs out of durability, making the piglins use their fists. Unlike mobs armed with bows, they do not strafe from left to right while shooting. Piglins with swords and other items rush at the player.

If a group of piglins successfully defeat their target, they gather at the site of their target's demise and emit "celebration sounds". However, piglins do not have a chance of dancing unless their target was a hoglin.

Iron golems attack both adult and baby piglins; however, piglins do not attack iron golems without provocation.

Being distracted
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 piglin is examining the item, then the 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
Piglins can trade gold ingots for certain items, when a gold ingot is dropped near them or the player uses it while looking at them. The piglin "examines" the ingot for six or eight seconds, then drop a random item from the chart. However, baby piglins examine the ingot and then run away without dropping an item. Piglins can also pick up items dropped by a dispenser or dropper.

Picking up items
Piglins can pick up and equip any items they come across, preferring gold-related items, which they actively seek out. A piglin inspects any gold-related item before equipping, holding or putting that item in its inventory for six seconds after picking it up. However, items not related to gold are held or equipped (if the piglin does not have any gold equipments) instantly. Piglins do 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 do 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 (which do not help to obtain better items from bartering) and porkchops (they do not 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.

If a piglin is killed in one hit while admiring a gold ingot, the ingot does get dropped upon the piglin’s death.

Piglins with crossbows can pick up normal or enchanted crossbows and equip them.

Like other mobs capable of picking up items, piglins pick up armor and weapons. Piglins pick up armor that is better than the armor they are already wearing, although they prefer gold over stronger armor. For example, a piglin does not pick up leather boots if it is already wearing diamond boots, but may discard a netherite chestplate to pick up a golden chestplate. However, they cannot unequip and discard armor with the Curse of Binding.

Piglins that have picked up items or equipment do not despawn naturally.

Items piglins want
These items are listed in the. •

•

•

•

•

•

• (piglins barter something else in return)

•

•

•

•

•  (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 does not already have one)

•

•

•

Zombification
When in the Overworld or the End, piglins transform into zombified piglins after 15 seconds, retaining their armor and held items. However, they cannot shoot a crossbow, using it instead as a melee weapon. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds; this is just a cosmetic effect. When a piglin transforms into a zombified piglin, it drops anything except equipped weapons and armor in its inventory; other items in its inventory disappear.

ID




Entity data
Piglins have entity data associated with them that contains various properties.

Trivia

 * In the banner pattern "snout", there is a piglin snout. This is the same in the chiseled blackstone.
 * In Bedrock Edition, baby piglins make angry noises when any piglin gets angry.
 * Unlike most neutral mobs which are peaceful by default but become hostile due to certain conditions, piglins are hostile by default but become peaceful under certain conditions.