Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement
Dark Oak Sapling
This article is a stub. 
You can help by expanding it.

This article is about the hostile mob native to the Nether. For zombified variant, see Zombie Pigman. For other pigs, see Pig (disambiguation).
Crafting Table
This article describes content that may be included in a future update. 
This content has appeared in development versions, but the full update containing it has not been released yet.

Piglins are hostile mobs that spawn in the Nether. They become neutral mobs if the player wears gold armor. They are equipped with crossbows or golden swords. Players can barter with piglins using gold ingots to receive various items.

Spawning

Piglins are found spawning in crimson forests and bastion remnants in groups of 4 and uncommonly in the nether wastes. 5% spawn as babies.

Piglins do not despawn in peaceful.

Drops

Adults have an 8.5% chance of dropping their held item (a golden sword or crossbow with random durability). Each Looting tier increases this chance by 1%.

Babies always spawn without anything.

A picked up item always drops without changing the durability.

Armor

Adults sometimes spawn with one or two pieces, which may be:

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

Experience

Adult piglins drop five points and more 1–3 per armor piece if killed by a player or tamed wolf. Baby piglins drop 1.

Behavior

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

Idle adults retreat from zombified piglins, zoglins, soul fire, soul torches, soul lanterns, and soul campfires.

Piglins cannot swim and will drown. They are not naturally immune to fire or lava. They are some of the few mobs capable of opening wooden doors.

Hostility

The adults are hostile, but if the player wears at least one piece of gold armor, they become neutral. Piglins are provoked when players attack them, similar to iron golems and endermen. Piglins are also aggravated when a nearby chest, trapped chest, ender chest, barrel or shulker box is opened or broken; however, they are not when another container such as a hopper, furnace, or brewing stand is opened. Hence, hoppers can be used to extract items from chests without aggravating.[1] They are also provoked by a player breaking gold blocks, gold ore, gilded blackstone, and nether gold ore.

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.

Adults attack wither skeletons and withers. Also, they attack adult hoglins, but keep a distance of 6 blocks if outnumbered. 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 32 blocks and attack in hordes.

When attacking with a crossbow, piglins shoot arrows every 2 seconds. In Java Edition, 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 items; bartering then takes place as it normally would if given a gold ingot. However, they resume attacking once the barter is complete.

Bartering

Main article: Bartering
Not to be confused with Trading.
Minecraft Bartering Guide for Java Edition 1.16.2 to 1.18

A reference table of Piglin Bartering as of 1.16.2 and above. Bartered items may differ in Bedrock Edition.

Bartering is an action the player can perform with piglins to obtain various items.

Mechanics

<onlyinclude>To barter with a piglin, either throw by dropping a gold ingot near an adult piglin or use a gold ingot on it. After the piglin takes the gold ingot and examines it for six seconds in Java Edition or eight seconds in Bedrock Edition[2], it tosses a random item to the player. Piglin brutes ignore gold ingots. Baby piglins take the ingot without giving anything in return, instead holding the ingot, which is dropped when killed.

Piglins pick up many other items that are made of gold; however, ingots are the only items that piglins accept for bartering. Baby piglins are incapable of bartering and treat gold ingots like any other gold items.

Hitting a piglin causes it to "confiscate" the ingot; the piglin does not complete the barter. It cannot be bartered with again unless it puts another item in its inventory. Piglins who are killed in one hit before they finish examining always drop the ingot.

When a piglin is admiring a gold ingot, it can still be angered by the player breaking a container or a gold-related block nearby, although its behavior differs depending on the game edition. In Java Edition, the piglin finishes the barter on the original schedule, and only starts attacking the player once the barter finishes. In Bedrock Edition, the piglin immediately finishes the barter and starts attacking the player,[3] leading to a bartering transaction much shorter than the default 8 seconds.[4] This allows piglins in Bedrock Edition to barter rapidly when gold-related blocks are repeatedly broken nearby, or when a gold-related block is repeatedly pushed and pulled by pistons.

Piglin Admiring Item

A piglin looking at a gold ingot.

Bartering is controlled by the loot table minecraft:gameplay/piglin_bartering. If the game rule mobGriefing is false, piglins only barter when the player uses a gold ingot on them.

If a piglin is zombified into a zombified piglin before the bartering is complete, the newly-zombified piglin drops the gold ingot.

The player can only barter with piglins, not piglin brutes or zombified piglins, even if the zombified piglin was a piglin that was zombified in the Overworld or the End.

When a piglin is admiring a gold ingot while bartering, it does not run away from nearby zoglins or nearby zombified piglins.

Items bartered

The item the piglin throws may be one of the following:

Bartering items
Item given Quantity Chance Ingots needed
per item (average)
Enchanted Book
with Soul Speed (random level)
1 5459
(~1.09%)
91.8
Iron Boots
with Soul Speed (random level)
8459
(~1.74%)
57.375
Splash Potion of Fire Resistance
Potion of Fire Resistance
Water Bottle 10459
(~2.18%)
45.9
Iron Nugget 10–36 1.996
Ender Pearl 2–4 15.3
String 3–9 20459
(~4.36%)
3.825
Nether Quartz 5–12 2.7
Obsidian 1 40459
(~8.71%)
11.475
Crying Obsidian 1–3 5.7375
Fire Charge 1 11.475
Leather 2–4 3.825
Soul Sand 2–8 2.295
Nether Brick
Spectral Arrow[JE only]
Arrow[BE only]
6–12 1.275
Gravel 8–16 0.96
Blackstone

Bartering is the only renewable source of nether quartz, crying obsidian, soul sand, nether brick‌[JE only], gravel, blackstone, as well as the Soul Speed enchantment.

History

Java Edition
1.1620w07aAdded bartering.
20w09aSoul sand, mushrooms, crimson fungi, flint, rotten flesh, and raw porkchops have been removed from the possible barters.
Crying obsidian, string, Fire Resistance potions and splash potions, and netherite hoes have been added to the possible barters.
Barter chances have been tweaked.
Due to a bug, all barters give stacks of 1–5 items.[5]
20w10aBarters now give the correct amounts of items.
Warped nylium, warped fungus, and shroomlights have been removed from the possible barters.
Iron nuggets have been added to the list of barters and soul sand has been re-added.
Barter chances have been tweaked.
20w11aEnchanted books and iron boots with Soul Speed have been added to the possible barters.
20w13aItems enchanted with Soul Speed are now slightly more common.
20w20aNetherite hoes can no longer be obtained through bartering.
1.16.220w28aWater bottles, spectral arrows, and blackstone have been added to the possible barters.
Magma cream and glowstone dust have been removed from the possible barters.
Barter chances have been tweaked.
Many barters give fewer items.
Bedrock Edition
1.16.0beta 1.16.0.51Added bartering.
beta 1.16.0.57Updated the loot table to match Java Edition 20w13a. Previously, right-clicking the piglin would give the player obsidian or flint and steel, while dropping gold onto the ground would result in a Nether wart block
Piglins now "inspect" the gold ingot before giving the player an item, as opposed to giving the item instantly.
1.16.100beta 1.16.100.54Updated the loot table to match Java Edition 1.16.2. Arrows are used in place of spectral arrows.

Issues

Issues relating to "Piglin" are maintained on the bug tracker. Report issues there.

Trivia

  • Piglins sometimes pick up and equip the iron boots enchanted with Soul Speed that they have just offered while bartering. A player wanting to obtain the iron boots without killing the piglin can induce the piglin to discard the iron boots by offering a pair of golden boots.

See also

References

  1. MC-178973
  2. MCPE-99448 — Piglins need 8 seconds to barter, while they only need 6 in java
  3. MCPE-94099 — Piglins get angry when a player destroys a chest or a gold-related item while admiring a gold item
  4. MCPE-91275 — Piglin can skip bartering animation when being distracted by other activities
  5. MC-173165

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

Dancing

Piglin celebrate hunt

A piglin "dancing".

A piglin has a 10% chance of "dancing" if they defeat a hoglin.

Zombification

Piglin being zombified

A piglin turning into a zombified piglin.

When in the Overworld or the End, piglins transform into zombified piglins after 15 seconds, retaining their armor but drop held items and gain a golden sword. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds.

Sounds

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Piglin snorts??entity.piglin.ambientsubtitles.entity.piglin.ambient0.7??
Piglin snorts angrily??entity.piglin.angrysubtitles.entity.piglin.angry0.7??
Piglin celebrates??entity.piglin.celebratesubtitles.entity.piglin.celebrate0.8??
Piglin converts to Zombified Piglin??entity.piglin.converted_to_zombifiedsubtitles.entity.piglin.converted_to_zombified1.0??
Piglin hurts??entity.piglin.hurtsubtitles.entity.piglin.hurt0.7??
Piglin dies??entity.piglin.deathsubtitles.entity.piglin.death0.7-0.8??
Piglin retreats??entity.piglin.retreatsubtitles.entity.piglin.retreat0.7??
Piglin steps??entity.piglin.stepsubtitles.entity.piglin.step0.75??
Piglin snorts enviously??entity.piglin.jealoussubtitles.entity.piglin.jealous0.8??
Piglin admires item??entity.piglin.admiring_itemsubtitles.entity.piglin.admiring_item0.8-0.85??

Data values

ID

Java Edition:

NameIdentifierTranslation key
Piglinpiglinentity.minecraft.piglin

Bedrock Edition:

NameIdentifierNumeric ID Translation key
Piglinpiglin123entity.piglin.name

Entity data

See also: Chunk format
  • Entity data
    • Tags common to all entities
    • Tags common to all mobs
    •  CannotHunt: 1 or 0 (true/false) – if true, the piglin does not attack hoglins. Set to true for piglins spawned as a part of bastion remnants.
    •  Inventory: Each compound tag in this list is an item in the piglin's inventory. It can hold a maximum of 8 items.
      • An item in the inventory, excluding the Slot tag.
        • Tags common to all items
    •  IsBaby: 1 or 0 (true/false) – true if the piglin is a baby. May not exist.
    •  IsImmuneToZombification: 1 or 0 (true/false) – if true, the piglin does not transform to a zombified piglin when in the Overworld.
    •  TimeInOverworld: The number of ticks that the piglin has existed in the Overworld; the piglin converts to a zombified piglin when this is greater than 300.


Advancements

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
Advancement-plain-rawSuit Up
Protect yourself with a piece of iron armor Acquire HardwareHave any type of iron armor in your inventory.story/obtain_armor
Advancement-plain-rawNot Today, Thank You
Deflect a projectile with a Shield Suit UpBlock any projectile with a shield.story/deflect_arrow
Advancement-plain-rawIce Bucket Challenge
Obtain a block of Obsidian Hot StuffHave a block of obsidian in your inventory.story/form_obsidian
Advancement-plain-rawWho is Cutting Onions?
Obtain Crying Obsidian NetherHave a block of crying obsidian in your inventory.nether/obtain_crying_obsidian
Advancement-plain-rawOh Shiny
Distract Piglins with gold NetherWhile aggravated, give a piglin one of these 25 gold-related items in the #piglin_loved item tag: Other gold-related items do not distract the piglin and do not trigger this advancement.nether/distract_piglin
Advancement-plain-rawAdventure
Adventure, exploration and combat Kill any entity, or be killed by any entity.adventure/root
Advancement-plain-rawMonster Hunter
Kill any hostile monster AdventureKill one of these 34 mobs: Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement. Other mobs may be killed, but are ignored for this advancement.adventure/kill_a_mob
Advancement-fancy-rawMonsters Hunted
Kill one of every hostile monster Monster HunterKill each of these 34 mobs: Other mobs may be killed, but are ignored for this advancement. Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement.adventure/kill_all_mobs

History

Missing Model JE3
This page would benefit from the addition of more images. 
Please remove this notice once you've added suitable images to the article.
The specific instructions are:
  • Bedrock 1.16.0.63 - "Gold ingots now render properly in piglin's hands at all times." (Before and After)
alpha
v1.2.0previewFile:Pigman Texture.png The texture of pigmen has been added to mobs/pigman.png.[1]
beta
April 25, 2011It is suggested that pigmen may be the inhabitants of the then-to-be-implemented villages.
Java Edition
1.6.2Pigman's texture file has been removed.
September 28, 2019Piglins are announced at MINECON Live 2019.
Piglin targeting BE Footage shown at MINECON Live shows that angered piglins raise their arms in a manner similar to zombies, a behavior not reflected in the final version.
December 5, 2019A video shows a piglin with a baby hoglin.
December 14, 2019An image of a hoglin and piglins is released.
January 14, 2020A video shows piglins picking up gold thrown by the player and throwing back a placeholder diamond.
March 4, 2020An official post on Crowdin[2] explains the naming of the piglin as a gender-neutral term as opposed to pigman, confirming that piglins are indeed a reworked pigman concept.
Upcoming Java Edition
1.1620w07aPiglin Baby Piglin Added piglins and baby piglins.
Piglin with Crossbow Piglins can hold crossbows.
Piglins can be converted into zombie pigmen in the Overworld.
The player can barter with Piglins.
20w09aPiglins now have an IsImmuneToZombification data value that, when set, prevents them from zombifying in the Overworld.
The loot table of items that can be bartered from piglins has been modified.
Baby Piglin Riding a Baby Hoglin Baby piglins can now ride on the back of baby hoglins.
20w10aThe loot table of items that can be bartered from piglins has been modified again.
20w11aEnchanted books and iron boots with Soul Speed have been added to the items that can be bartered from piglins.
20w12aFile:Hoglin Rider Tryglin.png Baby piglins can now ride on top of each other on a baby hoglin, up to three baby piglins can climb on at once.
20w14aPiglins now avoid zoglins, the same way they avoid zombified piglins.
Baby piglins no longer have a weapon when they turn into a zombie.
The texture size has changed from 128x64 to 64x64, and the layout of the parts of the ears has changed.
20w16aPiglins now spawn in bastion remnants.
20w19aPiglins now become zombified piglins when in the End.
20w21aPiglins no longer walk around when admiring gold.
If a piglin is hurt while admiring an gold ingot, the ingot now disappears.
20w22aPiglin celebrate hunt Piglins now occasionally dance after defeating a hoglin.
Piglin Attacking with melee weapon Piglins now have animation when attacking with a sword.
Upcoming Bedrock Edition
1.16.0beta 1.16.0.51Piglin BE Baby Piglin Added piglins and baby piglins.
Piglin with Crossbow BE Piglins can hold crossbows.
Hoglin Rider BE1 Baby piglins can ride on the back of baby hoglins.
Piglin targeting BE Piglins raise their arms in a manner similar to zombies when attacking enemy.
Currently, piglins can drop only flint and steel and obsidian while bartering as a placeholder.
Piglins currently drop 0-2 arrows, even if the piglin is not armed with a crossbow.
Piglins currently use the player's hurt sound.
Piglin celebrate hunt Piglins dance after they finish hoglin hunting.
beta 1.16.0.57 Piglins now have their own sounds.
Piglin bartering has now been properly added.
Piglins can no longer drop arrows when killed.
The health of piglins has been reduced from 24 to 16.
Piglins now spawn in bastion remnants.
Baby piglins can now ride on top of each other on a baby hoglin, up to three baby piglins can climb on at once.
beta 1.16.0.59Piglins now avoid zoglins, the same way they avoid zombified piglins.
Piglins now spawn in the nether wastes.
Piglins now properly sit in boats and minecarts.
Piglins no longer despawn in Peaceful mode.
beta 1.16.0.63Piglins now avoid soul campfires.
Gold ingots now render properly in piglin's hands at all times.

Issues

Issues relating to "Piglin" are maintained on the bug tracker. Report issues there.

Trivia

  • Baby piglins never grow up.[3]
  • Piglins can put on any type of head or skull from 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.
  • If a piglin drops a crossbow whilst charged the dropped crossbow will have an arrow on it, effectively dropping two items at once - the crossbow and an arrow.

Gallery

Piglin with Crossbow standby JEPiglin with Crossbow targeting JEPiglin with Crossbow standby BEPiglin with Crossbow targeting BE
The differences of piglins targeting with crossbows between Java Edition.
Renders
Other

References

  1. The texture was added in the preview, as the texture dates from October 27, 2010 and the preview released at October 29, 2010
  2. for users without accounts: https://media.discordapp.net/attachments/449243256849563648/690754756938825748/image0.png
  3. MC-172618
  4. MC-172105

See also

Advertisement