Minecraft Wiki
Mob

Piglin

Game version

A Nether mob that barters for gold ingots and can attack players who approach without gold armor or provoke it.

Discussion Quiz

Differences between editions

  • BedrockMaximum health: 16 HP
#

Used in

Mentioned in

PropertyValue
MobPiglin
EditionJava and Bedrock
VersionJava 26.3 / Bedrock 26.62
BehaviorAdults can attack on sight. Gold armor prevents ordinary targeting, while provocation can trigger anger.
HabitatNether wastes, crimson forests and bastion remnants
DropsEligible weapons and armor. Java also has a charged-creeper head drop.

Overview#

A piglin is a Nether mob with the entity ID minecraft:piglin. Adult piglins guard possessions and barter with players for gold ingots. The piglin brute is a separate bastion defender. It attacks players on sight even when they wear gold.

Spawning#

Piglins occur naturally in crimson forests and Nether wastes, and they inhabit bastion remnants. Java 26.3 lists piglins in the Crimson Forest and Nether Wastes biome data. Bedrock uses two spawn groups keyed to biome tags that permit regular or less frequent piglin spawning.

Piglins can spawn as adults or babies. Adults can carry a golden sword, a golden spear or a crossbow, and some wear pieces of gold armor.

Behavior#

Gold armor and provocation#

Wearing at least one piece of gold armor prevents the ordinary on-sight targeting by adult piglins. Hitting one, opening a nearby chest or mining guarded gold blocks can still provoke them. In Java, opening or destroying a chest minecart is another documented trigger. Nearby piglins can join a fight when anger spreads.

Adults can hunt hoglins and attack wither skeletons. Baby piglins do not normally attack players on sight. They can take an interest in gold, but the barter interaction is for adults.

Bartering#

Give a gold ingot to an adult piglin or toss one where it can pick it up. The piglin examines the ingot and then tosses an item or stack from its barter table. Crying obsidian is one possible result in both editions. Bartering uses its own reward table and takes place without a villager trading screen.

Zombification#

A piglin brought out of the Nether shakes and can turn into a zombified piglin. In Bedrock, the transformation uses a 15-second timer and can be stopped by returning to the Nether before it finishes.

Drops#

A piglin can drop equipped gear on death. Weapons and armor are handled separately from barter rewards. In Java, a piglin killed by a charged creeper can drop a piglin head.

The Bedrock entity data gives piglins 16 HP maximum health. On a player killing blow, its experience formulas start at 5 XP for an adult and 1 XP for a baby, with equipment-dependent additions.

Edition differences#

Both editions added piglins in the Nether Update and later added spears to their possible weapons in Mounts of Mayhem. Their barter tables are separate data files, and the Bedrock entity uses distinct equipment tables for melee and ranged piglins.

See also#