Piglins are hostile mobs that spawn in the Nether. They are equipped with crossbows or golden swords. While they are normally hostile toward the player, they become neutral if the player wears golden armor. The player is capable of bartering with them.
Spawning
Groups of 1–3 piglins in crimson forests, bastions and uncommonly in the nether wastes biomes. 5% spawn as babies.
Adult piglins spawn with either golden swords or crossbows and sometimes wearing golden armor. Baby piglins spawn without any equipment.
Piglins do not despawn in peaceful mode nor spawn on magma blocks.
Drops
Piglins have an 8.5% chance of dropping their naturally-spawned equipment and drop it with random durability. Each level of Looting increases this chance by 1%.
Any picked-up items always drop, without changing the durability.
Java Edition
A piglin that is hit while inspecting a gold ingot during bartering puts the ingot in its inventory. This gold ingot is dropped upon death. If killed in one hit while inspecting, the gold has the same chance to drop as any other held item.
Naturally-spawned equipment
Experience
Adult piglins drop 5 experience and an extra 1–3 experience per equipment if killed by a player or tamed wolf.
Baby piglins drop 1 and an extra 1–2 per equipment if killed by a player or tamed wolf.
Behavior
Baby piglins play with baby hoglins, running with them and mounting them. In Bedrock Edition, only 10% of baby piglins can mount baby hoglins. In Java Edition, any piglin can, and up to 3 piglins stacked on top of each other may ride a baby hoglin.
Piglins that are not currently attacking retreat from zombified piglins, zoglins, soul fire, soul fire torches, soul fire lanterns, and soul campfires.
Piglins cannot swim in water and will drown instead.
Despite being a Nether mob, piglins are not naturally immune to fire damage.
Piglins are capable of opening doors.
Attacking
Baby piglins are passive and adults hostile. If a player is wearing at least one piece of gold armor, they become neutral. Piglins are provoked when players attack them, break or open a chest, trapped chest, ender chest, barrel, or a shulker box near them. They are also provoked by a player breaking blocks of gold, 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 invisibility effect). The block interacted with does not require a line of sight to anger the Piglins.
Adult piglins attack wither skeletons and withers. Additionally, they also attack adult hoglins, but keep a distance of 6 blocks if outnumbered. In Bedrock, after defeating a hoglin, there is a 1⁄7 chance for piglins to do a victory dance.
Adult piglins group together within radius 32 blocks and attack in hordes like zombified piglins.
When attacking with a crossbow, piglins shoot arrows every 2 seconds. In Java Edition, they walk backwards (stopping if at the edge of a drop) as soon as the player os 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.
Bartering
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[1], 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,[2] leading to a bartering transaction much shorter than the default 8 seconds.[3] 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.
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:
| Item given | Quantity | Chance | Ingots needed per item (average) |
|---|---|---|---|
| Enchanted Book with Soul Speed (random level) |
1 | 5⁄459 (~1.09%) |
91.8 |
| Iron Boots with Soul Speed (random level) |
8⁄459 (~1.74%) |
57.375 | |
| Splash Potion of Fire Resistance | |||
| Potion of Fire Resistance | |||
| Water Bottle | 10⁄459 (~2.18%) |
45.9 | |
| Iron Nugget | 10–36 | 1.996 | |
| Ender Pearl | 2–4 | 15.3 | |
| String | 3–9 | 20⁄459 (~4.36%) |
3.825 |
| Nether Quartz | 5–12 | 2.7 | |
| Obsidian | 1 | 40⁄459 (~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.16 | 20w07a | Added bartering. | |||
| 20w09a | Soul 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.[4] | |||||
| 20w10a | Barters 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. | |||||
| 20w11a | Enchanted books and iron boots with Soul Speed have been added to the possible barters. | ||||
| 20w13a | Items enchanted with Soul Speed are now slightly more common. | ||||
| 20w20a | Netherite hoes can no longer be obtained through bartering. | ||||
| 1.16.2 | 20w28a | Water 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.0 | beta 1.16.0.51 | Added bartering. | |||
| beta 1.16.0.57 | Updated 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.100 | beta 1.16.100.54 | Updated 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
- Piglin
- Gold Ingot
References
- ↑ MCPE-99448 — Piglins need 8 seconds to barter, while they only need 6 in java
- ↑ MCPE-94099 — Piglins get angry when a player destroys a chest or a gold-related item while admiring a gold item
- ↑ MCPE-91275 — Piglin can skip bartering animation when being distracted by other activities
- ↑ 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[JE only]/three[BE only] 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 and gold nuggets; 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.
- Items that piglins want:
- Bell
- Block of Gold
- Clock
- Gold Ingot (piglins barter something else in return, see § Bartering)
- Gold Nugget
- Gold Ore
- Nether Gold Ore
- Glistering Melon Slice
- Golden Carrot
- Light Weighted Pressure Plate
- Golden Apple
- Golden Horse Armor
- Golden Helmet (Wear When Piglin Done Looking)
- Golden Chestplate (Wear When Piglin Done Looking)
- Golden Leggings (Wear When Piglin Done Looking)
- Golden Boots (Wear When Piglin Done Looking)
- Golden Boots
- Golden Sword
- Golden Shovel
- Golden Pickaxe
- Golden Axe
- Golden Hoe
- Gilded Blackstone
- Items crafted with gold that piglins are not interested in:
Zombification
A piglin turning into a zombified piglin.
When in the Overworld, piglins transform into zombified piglins after 15 seconds. When they transform, they retain their armor (but drop held items) and gain a golden sword. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds. In Bedrock Edition, piglins in the End also transform into zombified piglins.
Sounds
| Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
|---|---|---|---|---|---|---|---|---|
| Piglin snorts | ? | ? | entity | subtitles | 0.7 | ? | ? | |
| Piglin snorts angrily | ? | ? | entity | subtitles | 0.7 | ? | ? | |
| Piglin celebrates | ? | ? | entity | subtitles | 0.8 | ? | ? | |
| Piglin converts to Zombified Piglin | ? | ? | entity | subtitles | 1.0 | ? | ? | |
| Piglin hurts | ? | ? | entity | subtitles | 0.7 | ? | ? | |
| Piglin dies | ? | ? | entity | subtitles | 0.7-0.8 | ? | ? | |
| Piglin retreats | ? | ? | entity | subtitles | 0.7 | ? | ? | |
| Piglin steps | ? | ? | entity | subtitles | 0.75 | ? | ? | |
| Piglin snorts enviously | ? | ? | entity | subtitles | 0.8 | ? | ? | |
| Piglin admires item | ? | ? | entity | subtitles | 0.8-0.85 | ? | ? |
Data values
ID
| Name | Identifier | Translation key |
|---|---|---|
| Piglin | piglin | entity.minecraft.piglin |
Entity data
- 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
- An item in the inventory, excluding the Slot tag.
- 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.
Note to editors: Piglins store hunts in the brain tag.
Advancements
| Icon | Advancement | In-game description | Parent | Actual requirements (if different) | Resource location |
|---|---|---|---|---|---|
![]() | Not Today, Thank You | Deflect a projectile with a Shield | Suit Up | Block any projectile with a shield. | story/deflect_arrow
|
![]() | Adventure | Adventure, exploration and combat | — | Kill any entity, or be killed by any entity. | adventure/root
|
![]() | Monster Hunter | Kill any hostile monster | Adventure | Kill one of these 34 mobs:
| adventure/kill_a_mob
|
![]() | Monsters Hunted | Kill one of every hostile monster | Monster Hunter | Kill each of these 34 mobs:
| adventure/kill_all_mobs
|
History
| Upcoming Java Edition | |||||
|---|---|---|---|---|---|
| 1.16 | 20w07a | ||||
| Piglins can be converted into zombie pigmen in the Overworld. | |||||
| The player can barter with Piglins (see Bartering/Before 20w09a) | |||||
| 20w09a | Piglins 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 (see Bartering/Before 20w10a). | |||||
| 20w10a | The loot table of items that can be bartered from piglins has been modified again (see Bartering/Before 20w11a). | ||||
| 20w11a | Enchanted books and iron boots with Soul Speed have been added to the items that can be bartered from piglins. | ||||
| 20w12a | File: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. | ||||
| 20w14a | Now avoid zoglins, the same way they avoid zombified piglins. | ||||
| The baby piglins no longer has a weapon when it turns into a zombie. | |||||
| The texture size has been changed from 128x64 to 64x64, and the layout of the parts of the ears has been changed. | |||||
| 20w16a | They now spawn in Bastion Remnants. | ||||
| Upcoming Bedrock Edition | |||||
| 1.16.0 | beta 1.16.0.51 | ||||
| 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. | |||||
| beta 1.16.0.57 | Piglins now have their own sounds. | ||||
| Properly added bartering. | |||||
| Piglins now avoid zoglins, the same way they avoid zombified piglins. | |||||
| 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. | |||||
Issues
Issues relating to "Piglin" are maintained on the bug tracker. Report issues there.
Trivia
- Adult piglins cannot ride on other entities; if summoned as a passenger they immediately dismount.[Java Edition only]
- Baby piglins never grow up.[2]
- Renders
A baby piglin riding a baby hoglin in Java Edition.
A baby piglin riding a baby hoglin in Bedrock Edition.
- Hoglin Rider Tryglin.png
Multiple baby piglins climbing a baby hoglin .
A piglin dances in celebration of their hunting victory [Bedrock Edition only].
Gallery
- Piglins Attacking Wither Skeletons.PNG
Piglins attacking wither skeletons.
A preview showing two piglins fighting a hoglin in a crimson forest.
- Piglin in golden armor.png
A fully armored piglin.
A piglin chasing a hoglin.
An example of a baby piglin holding a lava bucket.
An example of a baby piglin riding a baby hoglin.
References
- ↑ for users without accounts: https://media.discordapp.net/attachments/449243256849563648/690754756938825748/image0.png
- ↑ MC-172618





![A piglin dances in celebration of their hunting victory [Bedrock Edition only].](https://static.wikia.nocookie.net/minecraft_gamepedia/images/3/31/Piglin_celebrate_hunt_Revision_2.gif/revision/latest/scale-to-width-down/120?cb=20200813091950)









