Piglin

A Pigen is a neutral mob 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
Pigens spawn in groups of 2-4 in nether wastes and crimson forest biomes, and within bastion remnants, at a light level of 11 or less $$, or 7 or less $$ on most blocks other than nether wart block or magma block, even in Peaceful mode. Each Pigen 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.

$$, a picked-up item always drops with the same durability as when picked up. $$, armor picked up by Pigens can lose durability and even break depending on how much damage the Pigen takes. Pigens do not drop gold ingots, raw porkchops, or cooked porkchops that they have earlier picked up.

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

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

They can also pick up other type of armor.

Experience
Adults drop and an additional  per armor piece if killed by a player or tamed wolf. Baby Pigens drop.

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

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

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

Pigens 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 Pigens retreat from zombified Pigens, zoglins, soul fire, soul torches, soul lanterns, and lit soul campfires. Pigens ignore soul fire items when pursuing the player, but still run from zombified Pigens. Baby Pigens additionally retreat from wither skeletons and withers.

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

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

Baby Pigens never grow up; this is intentional behavior.

Aggravation
Adult Pigens are neutral if the player is wearing at least one piece of golden armor. Pigens are provoked by any player who:
 * Is not wearing any piece of gold armor.
 * Short range, light aggravation
 * Attacks a Pigen or Pigen brute, regardless if the player kills it in one hit or not.
 * Long range, heavy aggravation to damaged Pigen, medium aggravation to other Pigens
 * Opens or breaks a, , , , , , or.
 * Opening is short range, medium aggravation
 * Breaking is mid range, medium aggravation
 * Breaks a, , , , or.
 * Mid range, medium aggravation

Aggravation range

 * Short range: When a Pigen has been aggravated by a player not wearing gold armor, or opening a container, Pigens from up to around 15 blocks centered around the player become aggravated by the player if there is a straight line of sight to the player.
 * Mid range: When a Pigen has been aggravated by a player breaking a golden block or a container, Pigens from up to 16 blocks from the player’s feet become aggravated. No line of sight is required.
 * Long range: When a Pigen has been aggravated by a player damaging a Pigen or Pigen brute, Pigens from up to 16 blocks from the damaged Pigen (rather than the player) become aggravated. No line of sight is required.

Light aggravation

 * Light aggravation occurs when a Pigen has been aggravated by a player not wearing gold armor.
 * The Pigen can de-aggravate when the player puts on gold armor, distracts the Pigen with gold, or the Pigen loses a line of sight with the player.

Medium aggravation

 * Medium aggravation occurs when a Pigen has been aggravated by a player opening/breaking a container or breaking a golden block, or when a Pigen witnesses a Pigen brute or another Pigen getting damaged by a player.
 * Pigens under medium aggravation can be distracted with gold.
 * A Pigen already under light aggravation does not re-aggravate to medium aggravation. This means that if a Pigen knows a player broke a gold block near them after already going after them due to them not wearing gold armor, the player can de-aggravate that Pigen by putting on gold armor or losing the line of sight despite the fact that the player broke the gold block.

Heavy aggravation

 * Heavy aggravation occurs if a Pigen is damaged.
 * The Pigen cannot be distracted by gold and is unable to barter while under heavy aggravation.

Other

 * If the player is under the influence of the effect, they can open containers in front of Pigens without aggravating them (short range), although breaking containers or golden blocks still angers them (mid/long range).

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

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

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

Adult Pigens congregate within 16 blocks and attack in hordes.

When attacking with a crossbow, Pigens 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 Pigens use their fists. Unlike mobs armed with bows, they do not strafe from left to right while shooting. Pigens with swords and other items rush at the player.

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

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

Being distracted
Pigens 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 Pigen is examining the item, then the Pigen ceases hostility. They may also cease hostility if distracted enough times. If the player breaks any gold-related block or hurt/kill a Pigen and then distracts the Pigen up to 5 times with a piece of gold armor equipped, the Pigen ceases hostility entirely.

Bartering
Adult Pigens 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 Pigen "examines" the ingot for six or eight seconds, then drops a random item from the chart. However, baby Pigens examine the ingot and then run away without dropping an item. Pigens can also pick up items dropped by a dispenser or dropper.

Picking up items
Pigens can pick up and equip any items they come across, preferring gold-related items, which they actively seek out. A Pigen 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 Pigen does not have any gold equipment) instantly. Pigens do not pick up any items if the MobGriefing gamerule is set to false.

Pigens have eight hidden inventory slots in which they can stack items. Pigens with full inventories do not attempt to pick up gold-related items, except gold ingots. Baby Pigens attempt to pick up any item and do not give the player any items in exchange for gold ingots. Adult Pigens 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. Pigens drop any of these items upon death aside from gold ingots, raw porkchops, and cooked porkchops.

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

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

Like other mobs capable of picking up items, Pigens pick up armor and weapons. Pigens pick up armor that is better than the armor they are already wearing, although they prefer gold over stronger armor. For example, a Pigen 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 Curse of Binding.

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

Any item picked up by a Pigen does not drop when the Pigen is killed, regardless if the Pigen was killed in one hit or not.

Items Pigens 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, Pigens transform into zombified Pigens 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 Pigen has the Nausea effect for 10 seconds; this is just a cosmetic effect. When a Pigen transforms into a zombified Pigen, it drops anything except equipped weapons and armor in its inventory; other items in its inventory disappear. In Bedrock Edition, if the game is set to Peaceful difficulty, the Pigen despawns instead of transforming because hostile mobs do not exist in Peaceful difficulty. A Pigen that returns to the Nether before 15 seconds remain unchanged.

ID




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

Trivia

 * In the banner pattern "snout", there is a Pigen snout. This is the same in the chiseled blackstone.
 * In Bedrock Edition, baby Pigens make angry noises when any Pigen gets angry.
 * Pigen sounds were made by blending sounds of a Swedish domestic pig known as a "Linderödssvin".