Mineuniverse
Piglin

Piglin

A piglin is a neutral mob found in the Nether. It is hostile to players unless they wear at least one piece of golden armor. It can be given gold ingots…

40 min read Updated
Entities Monster mobs Neutral mobs Nether mobs Piglins
Advertisement Remove ads with Premium →
Contents (37)
  1. Spawning
  2. Drops
  3. On death
  4. Equipment
  5. Picked up equipment
  6. Other picked up items
  7. Experience
  8. Behavior
  9. Aggravation
  10. Attacking
  11. Bartering
  12. Picking up items
  13. Zombification
  14. Sounds
  15. Data values
  16. ID
  17. Entity data
  18. Achievements
  19. Advancements
  20. Videos
  21. History
  22. Concept
  23. Announcement
  24. Java Edition
  25. Bedrock Edition
  26. Issues
  27. Trivia
  28. Gallery
  29. Renders
  30. Screenshots
  31. Mojang images
  32. Textures
  33. In other media
  34. See also
  35. Notes
  36. References
  37. External links
For other uses, see Piglin (disambiguation).
Piglin
Health points 16HP❤️ × 8
Armor points 0 (🛡)
Behavior Neutral (adult)
Passive (baby)
Mob type Monster
Attack
strength
Melee:

Golden Sword:
In Java Edition:
Easy: 5HP❤️❤️💔
Normal: 8HP❤️❤️❤️❤️
Hard: 12HP❤️ × 6
In Bedrock Edition:
Easy: 5.5HP❤️ × 2.75
Normal: 9HP❤️❤️❤️❤️💔
Hard: 13.5HP❤️ × 6.75
Golden Spear:
the damage depends on the velocity
Minimum:

Easy: 6.5HP❤️ × 3.25
Normal: 11HP❤️ × 5.5
Hard: 16.5HP❤️ × 8.25
Unarmed:
Easy: 3.5HP❤️ × 1.75
Normal: 5HP❤️❤️💔
Hard: 7.5HP❤️ × 3.75


Ranged:
Crossbow:
In Java Edition:
Easy and Normal: 2HP❤️ to 5HP❤️❤️💔
Hard: 3HP❤️💔 to 5HP❤️❤️💔
In Bedrock Edition:
3HP❤️💔 to 5HP❤️❤️💔

Hitbox size Adult In Java Edition:
Height: 1.95 blocks
Width: 0.6 blocks

Adult In Bedrock Edition:
Height: 1.9 blocks
Width: 0.6 blocks
Baby:
Height: 0.98 blocks
Width: 0.49 blocks

Speed 0.35
Spawn Nether Wastes

Crimson Forest
Bastion Remnant

Usable items

A piglin is a neutral mob found in the Nether. It is hostile to players unless they wear at least one piece of golden armor. It can be given gold ingots to barter for various items. It wields either a golden sword, a golden spear, or a crossbow and uses either melee, spear charge, or ranged attacks, respectively.

Baby piglins do not grow up, are passive, and take gold without giving anything in return.

Spawning

Piglins spawn in groups of 4 in nether wastes and 3-4 in crimson forest biomes at light levels of 11‌[Java Edition only] or 7‌[Bedrock Edition only] and below. They can spawn on most blocks other than nether wart blocks and magma blocks.

Piglins also spawn within bastion remnants upon generation.

Each piglin has a 20%‌[Java Edition only] or 5%‌[Bedrock Edition only] chance to spawn as a baby.

Every adult piglin spawns with a weapon: either a golden sword (45% chance), a golden spear (5% chance) or a crossbow (50% chance). Adult piglins can also spawn with golden armor, with each armor slot independently having a 10% chance to be equipped. Therefore, each piglin has a 34.39% chance to spawn with at least 1 piece of armor, and a 0.01% chance to spawn with a full set. Baby piglins never spawn with weapons or armor.

A baby piglin can also be spawned by using a piglin spawn egg on an adult piglin, similar to other mobs with a baby variant.

Piglin spawns in:
Category: MonsterJava EditionBedrock Edition
Spawn areaSpawn weightSpawn chanceGroup sizeSpawn weightGroup size
Crimson Forest5⁄1533.33%3–453–4
Nether Wastes15⁄1688.93%4154

Drops

On death

Java Edition:

ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Piglin Head[A]1100.00%1.001100.00%1.001100.00%1.001100.00%1.00
ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Piglin Head[A]111111111111
ItemAmountProbability
DefaultLooting ILooting IILooting III
Piglin Head[A]11 (100.00%)1 (100.00%)1 (100.00%)1 (100.00%)
Average1 (1.00)1 (1.00)1 (1.00)1 (1.00)
Killed1
ItemExpected Drops
DefaultLooting ILooting IILooting III
Piglin Head[A]1.001.001.001.00
  1. ↑ Only when killed by a charged creeper.

Bedrock Edition:

ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Piglin Head[A]1100.00%1.001100.00%1.001100.00%1.001100.00%1.00
ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Piglin Head[A]111111111111
ItemAmountProbability
DefaultLooting ILooting IILooting III
Piglin Head[A]11 (100.00%)1 (100.00%)1 (100.00%)1 (100.00%)
Average1 (1.00)1 (1.00)1 (1.00)1 (1.00)
Killed1
ItemExpected Drops
DefaultLooting ILooting IILooting III
Piglin Head[A]1.001.001.001.00
  1. ↑ Only when killed by a charged creeper.

If a piglin is killed in one hit while admiring a gold ingot, the ingot drops. However, if the piglin is hit and not killed, the piglin stops admiring the item. This causes the item to vanish from its hands and subsequently not drop when the piglin is killed.

Equipment

Adults have an 8.5%‌[JE only]/25%‌[BE only] chance of dropping each naturally held or worn piece of equipment when killed by a player or tamed wolf. The dropped item has a random durability. Each level of Looting used to kill the piglin increases the drop chance for each piece of equipment by 1%.

Babies always spawn without equipment.

Weapons

A piglin naturally spawns with one of these weapons:

Armor

Adult piglins have a 10% chance per slot to spawn wearing any of the following armor pieces, which may additionally be enchanted:

Piglins prefer gold armor over any other armor type. If they are given gold armor while wearing another type of armor, the piglin dons the gold armor and discard the other piece, (unless the armor is enchanted with Curse of Binding, in which it takes the armor without wearing it.)

Picked up equipment

Piglins always drop picked-up equipment upon death.

Piglins can pick up any type of armor or weapon, as long as the new equipment is better than the current equipment. This can include the Soul Speed boots it barters. See § Picking up items.

In Java Edition, a picked-up item can lose durability based on the amount of uses the item has withstood, however, it cannot break.

In Bedrock Edition, armor ​ picked up by piglins can lose durability and even break (if it takes enough damage).

Other picked up items

Piglins do not drop any gold ingots, raw porkchops, or cooked porkchops that they have picked up. However, any other items they have picked up are dropped.

Experience

Adults drop 5XP, which is not affected by armor, if killed by a player or tamed wolf. Baby piglins drop 5XP‌[JE only][1] or 1XP‌[BE only][2].

Behavior

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

Like villagers, piglins can open and close wooden and copper doors, but cannot open fence gates, trapdoors, or iron doors. They also cannot climb ladders.

Piglins cannot swim and can drown if submerged.[3] Unlike zombified piglins, they are not naturally immune to fire or lava.[4]

Idle piglins retreat from zombified piglins[note 1] (except babies), zoglins, soul fire, soul torches, soul lanterns, and lit soul campfires. Piglins ignore soul fire items when pursuing the player, but still run from zombified piglins and zoglins. Baby piglins additionally retreat from wither skeletons and withers.

Crossbow piglins stop attempting to load their crossbows if their target gets out of sight unlike pillagers.

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

Baby piglins can be given gold, but they do not give anything in return. Baby piglins can also pick up and wear armor as well as hold gold tools or weapons. However, they are unable to pick up leather.

Unlike many other mobs, piglins cannot be spawned holding any items in their off-hand; instead, the item in question is placed into their inventory or, if applicable, their main hand or an armor slot.[5] As a consequence, they cannot fire special ammunition from their crossbows, such as firework rockets or tipped arrows, and they cannot use a totem of undying alongside a melee weapon. If spawned with a gold ingot in their off-hand, the piglin immediately drops a random bartering good without examining the ingot.

As they are monsters, golden dandelions do not work on baby piglins.

Aggravation

Adult piglins are neutral if the player is wearing at least one piece of golden armor.

In Java Edition, the list of items that make piglins neutral can be modified in a data pack, by putting an item in the #piglin_safe_armor tag, which contains golden armor by default.

In Bedrock Edition, the list of items that make piglins neutral can be modified in a behavior pack, by putting an entity filter like this in the piglin.json file, in the alert_for_attack_targets component group, and in the minecraft:behavior.nearest_attackable_target.

{ "test": "has_equipment", "subject": "other", "domain": "<any armor slot>", "operator": "not", "value": "<item>" }

This filter contains golden armor by default.

Piglins are provoked by any player who:

Aggravation range

Illustration of short range aggravation of piglins. Note that this is a spherical range and that piglins behind walls are not aggravated because their line of sight is blocked.
  • Short range: When a piglin has been aggravated by a player not wearing gold armor, or opening a container, piglins 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 piglin has been aggravated by a player breaking a golden block or a container, piglins from up to 16 blocks from the player’s feet become aggravated. No line of sight is required.
  • Long range: When a piglin has been aggravated by a player damaging a piglin or piglin brute, piglins from up to 16 blocks from the damaged piglin (rather than the player) become aggravated. No line of sight is required.

Light aggravation

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

Medium aggravation

  • Medium aggravation occurs when a piglin has been aggravated by a player opening/breaking a container or breaking a golden block, or when a piglin witnesses a piglin brute or another piglin getting damaged by a player.
  • Piglins under medium aggravation can be distracted with gold.
  • In Java Edition, a piglin already under light aggravation does not re-aggravate to medium aggravation, but in Bedrock Edition, even a piglin already under light aggravation re-aggravates to medium aggravation. This means that in Java Edition, if a piglin knows a player performed an action that causes medium aggravation near them after already going after them due to them not wearing gold armor, the player can de-aggravate that piglin by putting on gold armor or losing the line of sight even though the player performed that action.

Heavy aggravation

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

Other

  • A player who is under the influence of the Invisibility effect can open containers in front of piglins without aggravating them. The player, while invisible, can also break containers or gold blocks without aggravating them.
  • In Java Edition, a player under the Invisibility effect who is not wearing any armor can attack piglins without causing the piglins to retaliate. This is not the case with any other hostile or neutral mob because mobs attacked by an invisible player still attack the player.[8]

Opening or breaking a hopper does not provoke piglins.[9] Piglins do not react to the opening or breaking of other containers. Breaking a bell does not provoke them either, even though piglins admire them as gold.[10]

When provoked, piglins remain hostile for 30 seconds.

Unlike other neutral mobs, piglins don't count toward the AngryAt tag.[11][12][13]

Attacking

Piglins have different attacking behavior based on the weapon they are wielding.

Using swords

Piglins wielding swords and most other items rush at the player. When attacking with a sword it holds its dominant arm and sword in front of it, similarly to a vindicator.

Using crossbows

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 target is close. In Java Edition, their crossbows can break if it runs out of durability,[14] making the piglins use their fists, while in Bedrock Edition their crossbows never break.[15] Unlike mobs armed with bows, they do not strafe from left to right while shooting. Also, unlike pillagers, piglins cannot fire firework rockets or special kinds of arrows, since they cannot hold them in their off-hand if spawned so.[5] If a piglin accidentally shoots an arrow at a neutral or hostile mob (except goats), the mob retaliates and attacks that piglin.

Using spears

Piglins wielding spears use the spear's charge attack while running toward their target. They hold the charge through its full duration, using all 3 stages. Once the charge attack has ended or they get too close to their target, they move away to increase the distance between them and their target before turning around to begin another charge. Since attacking piglins run toward their target, the damage of their spear charge is increased. If a piglin accidentally damages a neutral or hostile mob (except goats) with a spear's charge attack, the mob retaliates and attacks that piglin.

Hostility

Adult piglins congregate within 16 blocks and attack in hordes. If a group of piglins successfully defeats their target, they gather at the site of their target's demise and emit "celebration sounds". However, piglins do not have a chance of dancing unless their target was a hoglin.

Adult piglins are hostile toward wither skeletons and withers.

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

The detection range of piglins is reduced to half of their normal range (17.5 blocks) when the player is wearing a piglin head.

Piglins also retaliate to being rammed by a goat.‌[Java Edition only][16]

Hunting

Piglin celebrating dance.

Piglins sometimes attack hoglins, causing other piglins and piglin brutes‌[Bedrock Edition only] in that area to attack the targeted hoglin as well.

Adults do not immediately attack adult hoglins on sight, but a piglin has a random chance to decide to hunt a hoglin (this decision rarely happens if the piglin recently hunted, but other piglins can still start a hunt). Once that piglin attacks the hoglin, all other piglins and piglin brutes‌[Bedrock Edition only] in that area become hostile to the hoglin. If outnumbered by hoglins, the piglins flee, making "retreat" sounds. After defeating a hoglin (or any other entity), piglins have a 10% chance to do a "victory dance" by bobbing their heads, bodies and sticking out their arms like a T-pose.

Each piglin that sees a hoglin has a 10% chance of starting a hunt. Therefore, the more piglins there are, the larger the chance of a hunt occurring, as there are more opportunities for a hunt to begin.

After a hunt, any nearby piglins pick up the porkchops or cooked porkchops the hoglin dropped, but not the leather.

Piglins that spawned as part of a bastion remnant during world generation do not hunt.

Piglin brutes also join in hunts started by piglins, but do not start a hunt themselves.‌[Bedrock Edition only]

Being distracted

Piglins 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 piglin is examining the item, then the piglin ceases hostility.

Bartering

A piglin bartering in a warped forest.
Main article: Bartering

Adult piglins take gold ingots, whether dropped nearby or when a player uses one while looking at them, and barter certain items for them. The piglin "examines" the ingot for six‌[JE only] or eight‌[BE only][17] seconds, then drops a random item from the chart. However, baby piglins examine the ingot without bartering anything in return. Piglins can also pick up items dropped by a dispenser or dropper. In Java Edition, the pool for what piglins can barter may be modified in a data pack.

Piglins can still barter while riding another mob.

Picking up items

Piglins can pick up any items they come across, except for leather, and prefer gold-related items, which they actively seek out.

Each piglin has eight hidden inventory slots in which it can stack items. A piglin with a full inventory does not attempt to pick up gold-related items, except gold ingots.

Equipping

A piglin automatically equips any armor or weapon it can pick up, as long as the new equipment is better than its current equipment. When this happens, the previously held or worn item is dropped, giving players another way to easily recover their equipment. Piglins also prefer gold over other armors.

When a piglin picks up a gold-related piece of equipment, it has to inspect the item first before equipping it. Inspecting the item takes six seconds. However, non-gold equipment, if preferable, is equipped instantly. Piglins do not pick up any items when the /gamerule mobGriefing is set to false.

Only a piglin with a crossbow can pick up crossbows.

A piglin picks up raw porkchops and cooked porkchops from 1 block, unless it has already done so within the last 10 seconds. However, a piglin does not seek out porkchops or go out of its way to collect them.

Piglin loved items

Items with the piglin_loved tag are the only items that piglins want and pick up. When a piglin picks up one of these items, the player who dropped it (if it was dropped by a player) is given the advancement "Oh Shiny"​[until: JE 26.4]‌[Java Edition only]/achievement "Oooh, Shiny!"‌[Bedrock Edition only] unless the item was a gold nugget. Piglins aren't interested in other items, and can't be distracted by other items, even if the items are related to gold in some way.

Items that piglins love:

Baby piglins attempt to pick up every item‌[JE only] (except leather), regardless of whether they love it, and they admire gold ingots but do not barter any items.

Adult piglins can pick up gold nuggets, but won't inspect them for bartering. When killed, a piglin drops all of its items, except for gold ingots, raw porkchops, and cooked porkchops.

Despawning

Piglins that spawned in a bastion remnant during world generation, and piglins that have picked up or equipped items, do not despawn naturally.

Zombification

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, their name, and any items that they are holding. However, they cannot shoot a crossbow, using it instead as a melee weapon. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds‌[JE only][18]; this is just a cosmetic effect. When a piglin transforms into a zombified piglin, it drops anything except equipped weapons and armor in its inventory; other items in its inventory disappear.

In Java Edition, if the game is set to Peaceful difficulty, piglins are stuck in an eternal transformation state. They shake and do not barter. Upon returning to the Nether, piglins resume their normal behavior.

In Bedrock Edition, if the game is set to Peaceful difficulty, the piglin despawns instead of transforming because hostile mobs do not exist in Peaceful difficulty. A piglin that returns to the Nether before 15 seconds remains unchanged, although the 15-second portal cooldown usually prevents them from returning during that time.

In Java Edition, a piglin does not zombify outside the Nether if its IsImmuneToZombification tag is set to true. Piglins with their NoAI tag set to true also do not zombify.

In Bedrock Edition, a piglin does not zombify outside the Nether if the stop_zombification_event event is executed repeatedly on it using the /event command. This can be done with a repeating command block. This also applies to hoglins and piglin brutes.

In Java Edition, if a piglin is inspecting/admiring a gold ingot or a gold-related item and then gets zombified while inspecting, it drops the gold ingot or the gold-related item. In Bedrock Edition, the zombified piglin simply holds the ingot and has a 100.00% chance to drop it on death.

In Bedrock Edition, if a piglin is summoned using the stop_zombification_event event, it never zombifies, it becomes completely passive to the player, does not attack other mobs, and does not barter.

Sounds

Java Edition:

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
​Piglin snortsHostile MobsRandomlyentity.piglin.ambientsubtitles.entity.piglin.ambient​0.660.8–1.2
(Baby: 1.3–1.7)
16
​Piglin snorts angrilyHostile MobsRandomly while angryentity.piglin.angrysubtitles.entity.piglin.angry​0.70.8–1.2
(Baby: 1.3–1.7)
16
​Piglin retreats[sound 1]Hostile MobsWhen a piglin runs away from something feared or when being zombified[sound 2]entity.piglin.retreat​[sound 1]​subtitles.entity.piglin.retreat​​[sound 1]​0.650.8–1.2
(Baby: 1.3–1.7)
16
​Piglin hurts​[until: JE 26.4]Hostile MobsWhen a piglin is damagedentity.piglin.hurtsubtitles.entity.piglin.hurt​0.70.8–1.2
(Baby: 1.3–1.7)
16
​Piglin diesHostile MobsWhen a piglin diesentity.piglin.deathsubtitles.entity.piglin.death​varies [sound 3]0.8–1.2
(Baby: 1.3–1.7)
16
​FootstepsHostile MobsWhile a piglin is walkingentity.piglin.stepsubtitles.block.generic.footsteps​0.11251.016
​Piglin celebratesHostile MobsWhen a piglin defeats a hoglinentity.piglin.celebratesubtitles.entity.piglin.celebrate​0.8 [sound 4]0.8–1.2
(Baby: 1.3–1.7)
16
​Piglin snorts enviouslyHostile MobsRandomly while a player is holding a gold item, or when a piglin is unable to pick up item from the ground because another piglin picked it up (and a player holding gold is nearby)entity.piglin.jealoussubtitles.entity.piglin.jealous​0.80.8–1.2
(Baby: 1.3–1.7)
16
​Piglin admires itemHostile MobsWhen a piglin sees a gold itementity.piglin.admiring_itemsubtitles.entity.piglin.admiring_item​0.8 [sound 5]0.8–1.2
(Baby: 1.3–1.7)
16
​Piglin converts to Zombified PiglinHostile MobsWhen a piglin converts to a zombified piglinentity.piglin.converted_to_zombifiedsubtitles.entity.piglin.converted_to_zombified​1.00.8–1.2
(Baby: 1.3–1.7)
16
  1. ↑ a b c MC-98316 – Wrong subtitles caused by missing distinction
  2. ↑ MC-277743
  3. ↑ idle1 and idle2 are 0.7; idle3 and idle4 are 0.8
  4. ↑ Except celebrate3, which is 0.75
  5. ↑ Except celebrate4, which is 0.85

Bedrock Edition:

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitch
​Piglin snortsHostile MobsRandomlymob.piglin.ambientsubtitles.entity.piglin.ambient​0.8 [sound 1]0.8–1.2 (Baby: 1.3–1.7)
​Piglin snorts angrilyHostile MobsRandomly while angrymob.piglin.angrysubtitles.entity.piglin.angry​0.70.8–1.2 (Baby: 1.3–1.7)
NoneNone​[sound 6]NoneUndefined sound eventmissing.legacyrefNone​[sound 6]1.00.8–1.2 (Baby: 1.3–1.7)
​Piglin retreatsHostile MobsWhen a piglin runs away from something fearedmob.piglin.retreatsubtitles.entity.piglin.retreat​0.80.8–1.2 (Baby: 1.3–1.7)
​Piglin hurtsHostile MobsWhen a piglin is damagedmob.piglin.hurtsubtitles.entity.piglin.hurt​0.70.8–1.2 (Baby: 1.3–1.7)
​Piglin diesHostile MobsWhen a piglin diesmob.piglin.deathsubtitles.entity.piglin.death​varies [sound 2]0.8–1.2 (Baby: 1.3–1.7)
​FootstepsHostile MobsWhile a piglin is walkingmob.piglin.stepsubtitles.block.generic.footsteps​​[sound 3]​0.26250.8–1.2 (Baby: 1.3–1.7)
​Piglin celebratesHostile MobsWhen a piglin defeats a hoglinmob.piglin.celebratesubtitles.entity.piglin.celebrate​0.8 [sound 4]0.8–1.2 (Baby: 1.3–1.7)
​Piglin snorts enviouslyHostile MobsUnused sound eventmob.piglin.jealoussubtitles.entity.piglin.jealous​0.80.8–1.2 (Baby: 1.3–1.7)
​Piglin admires itemHostile MobsWhen a piglin sees a gold itemmob.piglin.admiring_itemsubtitles.entity.piglin.admiring_item​0.8 [sound 5]0.8–1.2 (Baby: 1.3–1.7)
​Piglin converts to Zombified PiglinHostile MobsWhen a piglin converts to a zombified piglinmob.piglin.converted_to_zombifiedsubtitles.entity.piglin.converted_to_zombified​1.00.9–1.1
  1. ↑ Except idle2, which is 0.75
  2. ↑ 0.7 for death1 and death2, and 0.8 for death3 and death4
  3. ↑ There is an unused translation key called subtitles.entity.piglin.step, which translates to "Piglin steps".
  4. ↑ Except celebrate3, which is 0.75
  5. ↑ Except celebrate4 (the fourth sound), which is 0.85
  6. ↑ a b Empty events do not have this parameter set.


Data values

ID

Java Edition:

NameIdentifier Translation key
EntitySprite piglin.png: Sprite image for piglin in Minecraft Piglinpiglin entity.minecraft.piglin

Bedrock Edition:

NameIdentifierNumeric ID FamilyTranslation key
EntitySprite piglin.png: Sprite image for piglin in Minecraft Piglinpiglin123 baby_piglin
piglin
piglin_hunter
monster
mob
entity.piglin.name

Entity data

Piglins have entity data associated with them that contains various properties.

Java Edition:

Main article: Entity format
  • [NBT Compound / JSON Object] Entity data
    • Tags common to all entities see Template:Nbt inherit/entity/template
    • Tags common to all mobs see Template:Nbt inherit/mob/template
    • [Byte] 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 during world generation.
    • [NBT List / JSON Array] Inventory: Each compound tag in this list is an item in the piglin's inventory. It can hold a maximum of 8 items.
      • [NBT Compound / JSON Object] An item in the inventory, excluding the Slot tag.
        • A single item stack see Template:Nbt inherit/itemnoslot/template
    • [Byte] IsBaby: 1 or 0 (true/false) – true if the piglin is a baby. May not exist.
    • [Byte] IsImmuneToZombification: 1 or 0 (true/false) – if true, the piglin does not transform to a zombified piglin when in the Overworld.
    • [Int] 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.

Bedrock Edition:

See Bedrock Edition level format/Entity format.

Achievements

IconAchievementIn-game descriptionActual requirements (if different)Gamerscore earnedTrophy type (PS)
PS4Other
Monster HunterAttack and destroy a monster. Other mobs may be killed, but are ignored for this achievement.15Bronze
CamouflageKill a mob while wearing the same type of mob head.—30Bronze
It SpreadsKill a mob next to a catalystKill any mob that drops experience near a sculk catalyst, with the sole exception of the ender dragon. Mobs that drop no experience are ignored for this achievement.10Bronze
Oooh, shiny!Distract a Piglin using goldGive a piglin a gold item​ while it is aggressive toward the player.30Silver

Achievements that apply to all mobs:

Advancements

IconAdvancementIn-game descriptionActual requirements (if different)
Not Today, Thank YouDeflect a projectile with a ShieldBlock any projectile with a shield.
Oh ShinyDistract Piglins with gold The player must not be wearing any golden armor when the piglin accepts or picks up the item.
Monster HunterKill any hostile monster Other mobs may be killed, but are ignored for this advancement.
It SpreadsKill a mob near a Sculk CatalystKill any mob that drops experience near a sculk catalyst, with the sole exception of the ender dragon. Mobs that drop no experience are ignored for this advancement.
Monsters HuntedKill one of every hostile monster Other mobs may be killed, but are ignored for this advancement.

Advancements that apply to all mobs:

Videos

History

Concept

October 26, 2010 Miclee suggests the concept of pigmen, the predecessor to piglins, resulting in him temporarily receiving the Bacon Cloak as a reward.[19]
April 25, 2011 It is suggested that pigmen may be the inhabitants of the then-to-be-implemented villages.
August 13, 2012 Coding of a mob with no clothes is hinted at. This is later revealed to be a pigman which could be hired as a bodyguard.[20] The player would have been able to give it armor and weapons.[21]
August 14, 2012 Further development of the pigman bodyguard.
September 14, 2012 The pigman bodyguard is shelved.

Announcement

September 28, 2019 Piglins are announced at MINECON Live 2019.
Footage shown at MINECON Live shows that angered piglins raise their arms in a manner similar to zombies, or zombified piglins. This is a behavior that is not reflected in the final version.
December 5, 2019 A video shows a piglin with crossbow with a baby hoglin.
December 14, 2019 An image of a hoglin and piglins is released.
January 14, 2020 A video shows piglins picking up gold thrown by the player and throwing back a placeholder diamond.
March 4, 2020 An official post on Crowdin[22] explains that the piglin was named such because it is a gender-neutral form of the word pigman.

Java Edition

Java Edition Alpha
v1.2.0preview The texture of pigmen has been added: mobs/pigman.png.[23]
Java Edition
1.6.113w24a The pigman texture has been removed.
1.1620w07a Added piglins and baby piglins.
Piglins can hold crossbows.
Piglins can be converted into zombified piglins in the Overworld.
The player can barter with Piglins.
Baby Piglins don't barter.
Piglins attack wither skeletons, but only when in groups of two or more.[24]
Piglins and hoglins don't look at their target.[25]
Baby piglins can pick up items.
Piglins can hold up crossbows to fire with no arrows loaded if interrupted while loading them.[26]
Piglins use one hand to hold a loaded crossbow.[27]
Added unique textures and models for helmets when they are used by piglins.
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.
Baby piglins can now ride on the back of baby hoglins.
20w10a The loot table of items that can be bartered from piglins has been modified again.
Piglins do not need to be in a group to attack a wither skeleton anymore and wither skeletons now attack piglins unprovoked.
Players are unable to set "LeftHanded" to "1b" for piglins.[28]
Firework damage now provokes piglins.[29]
20w11a Enchanted books and iron boots with Soul Speed have been added to the items that can be bartered from piglins.
Players are able to set "LeftHanded" to "1b" for piglins.
Piglins and hoglins look at their target.
20w12a 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 Piglins now avoid zoglins, the same way they avoid zombified piglins.
A baby piglin no longer holds a weapon when it turns into a zombie.
The texture size has changed from 128x64 to 64x64, and the layout of the parts of the ears of piglins has been changed.
20w16a Piglins now spawn in bastion remnants.
20w19a Piglins now become zombified piglins when in the End.
20w21a Piglins no longer walk around when admiring gold.
If a piglin is hurt while admiring an gold ingot, the ingot now disappears.
20w22a Piglins now have a 10% chance to dance after defeating an adult hoglin.
Piglins now have the vindicator attacking animation when melee attacking.
pre3 The position of the head of piglins when they are dancing has been changed from to .
The helmet model now uses the player helmet model on the piglins instead of a unique one that appears wider than the player's.
Piglins get angry if they detect a player breaking a storage block or a golden block, even when out of their line of sight.
pre6 Adult piglins now may spawn with enchanted gear.
1.16.2pre1 Piglins now become angry with players who open or destroy a minecart with chest or a minecart with hopper.
1.16.3Release Candidate 1 Piglins no longer have pathfinding problems.[30]
1.1720w45a Baby piglins can no longer pick up leather.[31]
21w08a Piglins now become angry with players who destroy deepslate gold ore.
21w14a Added raw gold, which piglins attempt to pick up.
21w18a Piglins now become angry with players who destroy blocks of raw gold.
Piglins can also now pick up blocks of raw gold.
1.1922w12a Piglins now become angry with players who open or destroy a boat with chest.
1.19.3
Experiment
Update 1.20
22w46a Piglins now drop piglin heads when killed by a charged creeper.
Piglins' detection range is now reduced when the player wears a piglin head.
1.19.423w06a Minecart with hopper no longer aggravates piglins when opened.[32]
1.21.224w36a Added the piglin_safe_armor tag, which controls what armor types render piglins neutral. Golden armor is included in this tag by default.
1.21.424w45a Piglins now prefer to pick crossbows from the ground as opposed to other items.
1.21.625w18a Dried ghasts have been added to the items that can be bartered from piglins.
1.21.1125w41a Piglins can now spawn with the new golden spears.
Piglins now consider golden spears as one of the items they like.
25w42a Piglins now consider golden nautilus armor as one of the items they like.
pre1 Piglins now consider golden spears as one of their preferred weapons.
26.1snap7 The model and texture of baby piglins have been changed.
snap8 Adjusted the hitboxes of the baby versions of piglins to fit in 1 block high or 0.5 block wide spaces.
26.2snap4 Piglins can now spawn naturally in Peaceful difficulty without the use of bastion remnants.
snap5 Piglins no longer despawn in Peaceful difficulty when they would otherwise convert to zombified piglins, and instead simply do not convert.

Bedrock Edition

Bedrock Edition
1.16.0beta 1.16.0.51 Added piglins and baby piglins.
Piglins can hold crossbows.
Baby piglins can ride on the back of baby hoglins.
Piglins raise their arms in a manner similar to zombies when attacking.
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.
Piglins follow a player who holds a gold ingot.
Piglins dance after they finish hoglin hunting.
beta 1.16.0.57 Piglins now have their own sounds.
Piglin bartering has 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.59 Piglins 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.63 Piglins now avoid soul campfires.
Gold ingots now render properly in the hands of piglins at all times.
1.16.20beta 1.16.20.50 Adult piglins drop gold ingots if killed with one hit while contemplating them and no longer spawn with enchanted weapons or armor.
The texture size has changed from 128x128 to 64x64, and the layout of the parts of the ears of piglins has been changed to match Java Edition 20w14a's.
Piglins now have the vindicator attacking animation when melee attacking, similar to Java Edition's from to
Piglins get angry when players attack Piglin brutes.
beta 1.16.20.53 Piglins can now spawn with enchanted weapons again.
beta 1.16.20.54 The attack animation of unarmed piglins has been changed.
1.16.100beta 1.16.100.54 Piglins now keep their Crossbows when zombified.
1.17.0beta 1.17.0.54 Piglins now pick up raw gold, block of raw gold, and deepslate gold ore.
1.19.60
Experiment
Next Major Update
Preview 1.19.60.20 Piglins now drop piglin heads when killed by a charged creeper.
Piglins' detection range is now reduced when the player wears a piglin head.
1.21.40Preview 1.21.40.20 Piglins are no longer attracted to powered rails to match Java Edition.[33]
1.21.60Preview 1.21.60.21 Golden swords dropped by piglins now have randomized durability to match Java Edition.[34]
1.21.90Preview 1.21.90.21 Dried ghasts have been added to the items that can be bartered from piglins.
1.21.130Preview 1.21.130.20 Piglins can now spawn holding golden spears and use their jab attack.
Piglins now consider golden spears as one of the items they like.
Preview 1.21.130.22 Piglins can now use the spear's charge attack.
26.0Preview 26.0.27 Piglins are now part of the mob family.
Baby piglins are now part of a new family, baby_piglin. Pre-existing baby piglins are not affected by this change.
26.10Preview 26.10.23 The model and texture of baby piglins have been changed.
26.20Preview 26.20.22 The hitboxes of baby piglins have been changed, to closely match Java Edition.[35]
26.40Preview 26.40.27 Arrow damage from piglins are no longer affected by difficulty and are now affected by velocity.

Issues

Issues relating to "Piglin" are maintained on the bug tracker. Issues should be reported and viewed there.

Trivia

  • In Bedrock Edition, baby piglins make angry noises when any piglin gets angry.[36]
  • Piglin sounds were made by blending sounds of a Swedish domestic pig known as a "Linderödssvin".[37]
  • The page for the Nether Update mentions that piglins have mined all of the netherite out leaving only the ancient debris behind.[38]
  • During development of piglins, Henrik Kniberg thought piglins flopping their ears was a fun way of conveying emotion and played around with piglins having different ear animations for different emotions which included when in idle, piglin ears would move slowly from side to side, when the piglin is excited, the ears would flop quickly from side to side but this was scrapped due to it not being important and not worth going the last mile for it.[39]
  • Coincidentally, piglin is a real word meaning "urine" in J.R.R. Tolkien's Gnomish language.[40]

Renders

Armed

Screenshots

Mojang images

Textures

In other media

See also

Notes

  1. ↑ In Bedrock Edition, 0.75% of zombified piglins, as well as baby zombified piglins are unavoided. See Zombified Piglin § Mounting.

References

  1. ↑ MC-175867
  2. ↑ MCPE-178466 – resolved as "Works As Intended".
  3. ↑ MC-172102 – resolved as "Works As Intended".
  4. ↑ MC-172087 – resolved as "Works As Intended".
  5. ↑ a b MC-172600 – resolved as "Works As Intended".
  6. ↑ MC-172239 – resolved as "Works As Intended".
  7. ↑ MC-189485 – resolved as "Works As Intended".
  8. ↑ MC-235027 – Invisible players cannot provoke piglins, piglin brutes and hoglins when hitting/shooting them
  9. ↑ MC-178973 – resolved as "Works As Intended".
  10. ↑ MC-179104 – resolved as "Works As Intended".
  11. ↑ MC-256289 – AngryAt tag is not used by certain neutral mobs, causing them to forget their target upon reloading game
  12. ↑ MC-195278 – If the "universalAnger" is set to true, certain neutral mobs don't fight back when you attack them
  13. ↑ MC-187857 – New neutral mob behavior improvements were not implemented for llamas, dolphins, and spiders in the daylight
  14. ↑ MC-163960 – resolved as "Works As Intended".
  15. ↑ MCPE-67489
  16. ↑ MC-227625
  17. ↑ MCPE-99448
  18. ↑ This does not happen in Bedrock Edition due to MCPE-70866.
  19. ↑ https://www.minecraftforum.net/forums/minecraft-java-edition/discussion/116353-minecraft-facts-big-list-of-what-notch-has
  20. ↑ "It was going to be a type of pigman that you could convince to fight for you, like a bodyguard." – @Dinnerbone (Nathan Adams) on X (formerly Twitter), April 15, 2020
  21. ↑ "The reason it had no clothes was that I wanted the player to be responsible for what it wore and what weapons it used, but that logically meant naked mob by default :D" – @Dinnerbone (Nathan Adams) on X (formerly Twitter), April 15, 2020
  22. ↑ for users without accounts: https://web.archive.org/web/20200406051054/media.discordapp.net/attachments/449243256849563648/690754756938825748/image0.png
  23. ↑ The texture was added in the preview, as the texture dates from October 27, 2010 and the preview released at October 29, 2010.
  24. ↑ MC-172161 – resolved as "Works As Intended".
  25. ↑ MC-172428 – resolved as "Fixed".
  26. ↑ MC-177973
  27. ↑ MC-182877
  28. ↑ MC-173858 – resolved as "Fixed".
  29. ↑ MC-111498 – Fireworks and water bottles damage don't make neutral mobs angry or hostile – resolved as "Fixed".
  30. ↑ MC-196449 – resolved as "Fixed".
  31. ↑ MC-197179 – resolved as "Fixed".
  32. ↑ MC-198874 – resolved as "Fixed".
  33. ↑ MCPE-91187 – Piglins are attracted to powered rails – resolved as "Fixed".
  34. ↑ MCPE-75292 – Gold swords dropped by piglins and zombified piglins all have the same durability – resolved as "Fixed".
  35. ↑ MCPE-236077
  36. ↑ MCPE-94090
  37. ↑ "They’re all a blend of recordings of a swedish domestic pig ”Linderödssvin” and a real snorty session in the recording booth. Brutes had a unique session but a different personality." – @slamp0000 on X (formerly Twitter), April 6, 2021
  38. ↑ "Minecraft Nether Update" (Archive) – Minecraft.
  39. ↑ "06 Space Vadå prototyp" – Agila Sverige on YouTube, June 21, 2022
  40. ↑ "G. piglin n." (Archive) by Paul Strack – Eldamo - An Elvish Lexicon. "A noun appearing as G. piglin "urine" in the Gnomish Lexicon of the 1910s (GL/64), probably based on the early root ᴱ√PIQI which had Quenya derivatives having to do with bitterness (QL/74).

    Neo-Sindarin: I would update this word to ᴺS. saerlin "urine", a combination of [N.] saer "bitter" (Ety/SAG) and the root √LIN which was sometimes connected to the sound of moving water (WJ/382)."
Advertisement Remove ads with Premium →

More in Nether mobs

View all 18 →
Happy GhastHappy GhastA happy ghast is a passive counterpart of ghasts that can be harnessed and ridden by up to four players at once as a flying mount. It can also be used in…HoglinHoglinHoglins are breedable hostile mobs found in the Nether, and a source of porkchops and leather. Hoglins are repelled by warped fungi that is placed in the…Hoglin JockeyHoglin JockeyHoglin jockeys are the rare appearance of a baby piglin riding a baby hoglin.Magma CubeMagma CubeA magma cube is a hostile mob found in the Nether. A magma cube behaves similarly to a slime in that it splits into smaller magma cubes on death, all the…Piglin BrutePiglin BruteA piglin brute is a hostile and stronger variant of the piglin. It wields a golden axe and appears in all types of bastion remnants. Unlike piglins…SkeletonSkeletonSkeletons are common undead hostile mobs that perform ranged attacks with a bow, shooting arrows from a distance. They are most commonly found in the…StriderStriderA strider is a passive mob found in the Nether. It can walk on lava and be saddled by the player, being directed via a warped fungus on a stick. They can…Strider JockeyStrider JockeyA strider jockey is the appearance of a strider being ridden by a zombified piglin.‌[JE only] The zombified piglin rider wields a warped fungus on a stick…

Related mods

Easy Piglins Easy Piglins Mod · 16.8M downloads Piglin Proliferation Piglin Proliferation Mod · 10.8M downloads Just Enough Piglin Bartering Just Enough Piglin Bartering Mod · 6.7M downloads PiglinSafety PiglinSafety Mod · 4.2M downloads
Piglin drops & spawning
Every drop with its chance per Looting level, and the biomes where it spawns.
Drops & spawning Wiki home