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
In Java Edition, piglins spawn commonly in groups of 1–3 in crimson forests and uncommonly in the nether wastes biomes. Each piglin has a 25% chance of spawning as a baby.
In Bedrock Edition, piglins spawn in groups of 1–5 in crimson forests and nether wastes. Piglins have a 5% chance to 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.[Java Edition only]
Unlike zombie pigmen, piglins can not spawn on magma blocks.
Drops
Piglins have a 8.5% chance of dropping their naturally-spawned equipment and drop it with random durability. Each level of Looting increases the chance by 1 percentage point (11.5% chance with Looting III).
Any picked-up equipment or other picked items have a 100% chance of dropping and drop without changing the damage that has accumulated on it. In Java Edition, a piglin who 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.
In Bedrock Edition:
Naturally-spawned equipment
Experience
Adult piglins drop 5 experience and an extra 1–3 experience per equipment if killed by player or tamed wolf.
Baby piglins drop 1 and an extra 1–2 per equipment if killed by player or tamed wolf.
Behavior
The specific instructions are: Dancing piglin animated render from Bedrock Edition.
Piglins are hostile to players, unless they wear at least one piece of gold armor. With it, they become neutral, but still attack if provoked. Piglins are also provoked by breaking or opening a chest, trapped chest, ender chest, barrel, or a shulker box in their sight. They become hostile if a player mines a gold block, but not if they mine other golden-type blocks like nether gold ore.
Piglins attack wither skeletons and withers. Additionally, adult piglins also attack adult hoglins, but keep a distance of 6 blocks if outnumbered by hoglins. Adult piglins may group together within radius 32 blocks and attack in hordes like zombified piglins.
Baby piglin riding baby Hoglin in Bedrock Edition.
Baby piglins are passive and never attack anything, they play with baby hoglins, running with them and mounting them. In Bedrock Edition, only 10% of baby piglins mount baby hoglins, but in Java Edition, any piglin can, and up to 3 piglins stacked on top of each other may ride a baby hoglin. Iron golems attack both adult and baby piglins; adults do not attack an iron golem until it attacks first.
When attacking with a crossbow, it shoots arrows every 2 seconds and in Java Edition, walks backward (stopping if at the edge of a drop) as soon as the enemy is close. Unlike bow-armed mobs, they do not strafe from left to right while shooting. Piglins with swords and other equipable items rush towards the player.
Piglins willingly downgrade to golden armor if they are wearing higher tier armor, or armor that has higher durability than gold, such as iron, chainmail, diamond, or netherite armor.
When in the Overworld, piglins transform into zombified piglins after 15 seconds and will start burning under direct sunlight.[Bedrock Edition only] When they transform, they retain their armor (but lose held items) and gain a golden sword. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds. This does not occur in the End.[Java Edition only] In Bedrock Edition, piglins in the End also transform into zombified piglins.
Piglins that are not currently attacking retreat from zombified piglins, soul fire, soul fire torches, and soul fire lanterns.
Piglins drown in water, they do not swim. They are capable of opening doors.
Despite being a nether mob, piglins are not naturally immune to fire damage.
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 of armor material, and throw away stronger items to equip these.
- Items that piglins want:
- Bell
- Block of Gold
- Clock
- Gold Ingot (will barter something else in return, see § Bartering)
- Gold Nugget
- Gold Ore
- Nether Gold Ore
- Glistering Melon Slice
- Golden Carrot
- Light Weighted Pressure Plate
- Powered Rail (only baby piglin)
- Golden Apple
- Golden Horse Armor
- Golden Helmet
- Golden Chestplate
- Golden Leggings
- Golden Boots
- Items crafted with gold, but piglins are not interested in:
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
- 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.
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. | |||||
| 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 20w09a). | |||||
| 20w10a | The loot table of items that can be bartered from piglins has been modified again (see Bartering/Before 20w10a). | ||||
| 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. | ||||
| 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. | |||||
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]
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










