Piglin

From Minecraft Wiki
Jump to: navigation, search
For the mob in Minecraft Dungeons, see MCD:Piglin. For the zombified variant, see Zombified Piglin. For the hostile variant found in bastion remnants, see Piglin Brute. For other uses, see Piglin (disambiguation).
Piglin
Piglin.pngPiglin Attacking with melee weapon.pngPiglin with Crossbow.pngPiglin with Crossbow targeting JE.png
Baby Piglin.png
Piglin BE.pngPiglin targeting BE2.pngPiglin with Crossbow BE.pngPiglin with Crossbow targeting BE.png
Health points

16♥ × 8

Behavior

Hostile (adult, if the player does not wear golden armor)
Neutral (adult, if the player wears golden armor)
Passive (baby)
Passive (peaceful difficulty)

Attack strength

Ranged:
Bedrock Edition:
Easy and Normal: 2♥ to 4♥♥
Hard: 2♥ to 5♥♥♥
Java Edition:
Easy and Normal: 2♥ to 5♥♥♥
Hard: 3♥♥ to 5♥♥♥
Melee in Java Edition:
Easy: 5♥♥♥
Normal: 8♥♥♥♥
Hard: 12♥ × 6
Melee in Bedrock Edition:
Easy: 5♥♥♥
Normal: 9♥♥♥♥♥
Hard: 13♥ × 6.5
Melee attack without weapon (If crossbow is broken):
Easy: 3♥♥
Normal: 5♥♥♥
Hard: 7♥♥♥♥

Hitbox size

In Java Edition:
Height: 1.95 Blocks
Width: 0.6 Blocks

In Bedrock Edition:
Height: 1.9 Blocks
Width: 0.6 Blocks

Spawn

Nether Wastes Crimson Forest Bastion remnant

Natural equipment
Items usable on

Piglins are neutral mobs found in the Nether. They attack players on sight unless the player is equipped with at least one piece of golden armor. Players can use gold ingots to barter with them for various items.

Spawning[edit]

Piglins spawn in groups of 4 in nether wastes and crimson forest biomes, and within bastion remnants, at a light level of 11 or less in Java Edition, or 7 or less in Bedrock Edition on most blocks other than nether wart block, even in Peaceful mode.‌[Bedrock Edition only] Each piglin has a 20%‌[Java Edition only] or 5%‌[Bedrock Edition only] chance of spawning as a baby.

Drops[edit]

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

Babies spawn without equipment.

In Java Edition, a picked up item always drops with the same durability as when picked up. In Bedrock Edition, armor picked up by piglins can lose durability and even break depending on how much damage the piglin takes. Piglins do not drop picked-up gold ingots, raw porkchops, or cooked porkchops.

Armor[edit]

Adults sometimes spawn with 1-4 pieces of armor, which are normal or enchanted and may be:

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

Experience[edit]

Adults drop 5 and an additional 1–3 per armor piece if killed by a player or tamed wolf. Baby piglins drop 1.

Behavior[edit]

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

Piglins can open and close wooden doors, like villagers. Also like villagers, they are unable to open gates, trapdoors, iron doors, and iron trapdoors.

Piglins cannot swim and drown if submerged; this is intentional behavior.[1] They are not naturally immune to fire or lava.

Piglins pick up raw porkchops and cooked porkchops that are within 1 block from them, unless they've done so within the last 10 seconds.

Idle piglins retreat from zombified piglins, 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. Baby piglins additionally retreat from wither skeletons and withers.

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 and run away. Baby piglins can also pick up and wear armor as well as hold gold tools or weapons. They can also pick up dropped fungi.

Baby piglins never grow up; this is intentional behavior.[2]

Aggravation[edit]

Adult piglins are neutral if the player is wearing at least one piece of golden armor. Piglins are provoked by any player who:

Piglins remain hostile for 30 seconds after provoked.

Piglins can detect the breaking and opening of blocks within a range of 16 blocks in a straight line from the player. When it comes to the opening of containers, a straight line of sight to the player is required to aggravate the piglin. However, if another piglin or a piglin brute is attacked, or when a container or golden block is mined, the piglin aggravates without requiring a line of sight. If the player is under the influence of the Invisibility effect, they can open containers in front of piglins without aggravating them, although breaking containers or golden blocks still angers them. The block interacted with does not require a line of sight to anger the piglin.

Piglins do not react to the opening or breaking of furnaces, blast furnaces, smokers, droppers, dispensers, or brewing stands. Opening or breaking a hopper does not provoke the piglins.[6] Breaking a bell does not provoke them either, despite piglins admiring them as gold.[7]

Attacking[edit]

When a piglin is attacking, it holds its dominant arm and sword in front of it, similar to a vindicator.

Adult piglins immediately attack wither skeletons and withers. Adults do not immediately attack adult hoglins on sight, but a piglin has a random chance to make the decision to hunt a hoglin (this decision almost never happens if the piglin recently hunted).[verify] Once that piglin attacks the hoglin, all other piglins become hostile to the hoglin. If outnumbered by hoglins, the piglins flee. After defeating a hoglin, piglins have a 10% chance to do a "victory dance" by bobbing their heads and sticking out their arms like a T-pose.

Adult piglins congregate within 16 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 target is close. Their crossbows can break if it runs out of durability, making the piglins use their fists. Unlike mobs armed with bows, they do not strafe from left to right while shooting. Piglins with swords and other items rush at the player.

If a group of piglins successfully defeat 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.

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

Being distracted[edit]

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. They may also cease hostility if distracted enough times. If the player breaks any gold-related block or hurt/kill a piglin and then distracts the piglin up to 5 times with a piece of gold armor equipped, the piglin ceases hostility entirely.

Bartering[edit]

Main article: Bartering

Adult piglins can trade gold ingots for certain items, when a gold ingot is dropped near them or the player uses it while looking at them. The piglin "examines" the ingot for six‌[JE only] or eight‌[BE only][8] seconds, then drop a random item from the chart. However, baby piglins examine the ingot and then run away without dropping an item. Piglins can also pick up items dropped by a dispenser or dropper.

Picking up items[edit]

Piglins can pick up and equip any items they come across, preferring gold-related items, which they actively seek out. A piglin inspects any gold-related item before equipping, holding or putting that item in its inventory for six seconds after picking it up. However, items not related to gold are held or equipped (if the piglin does not have any gold equipment) instantly. Piglins do not pick up any items if the MobGriefing gamerule is set to false.

Piglins have eight hidden inventory slots in which they can stack items. Piglins with full inventories do not attempt to pick up gold-related items, except gold ingots. Baby piglins attempt to pick up any item and do not give the player any items in exchange for gold ingots. Adult piglins can pick up gold nuggets (which do not help to obtain better items from bartering) and porkchops (they do not actively seek out and contemplate porkchops) and 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.

If a piglin is killed in one hit while admiring a gold ingot, the ingot does get dropped upon the piglin’s death.

Piglins with crossbows can pick up normal or enchanted crossbows and equip them.

Like other mobs capable of picking up items, piglins pick up armor and weapons. Piglins pick up armor that is better than the armor they are already wearing, although they prefer gold over stronger armor. For example, a piglin does not pick up leather boots if it is already wearing diamond boots, but may discard a netherite chestplate to pick up a golden chestplate. However, they cannot unequip and discard armor with Curse of Binding.

Piglins that have picked up items or equipment do not despawn naturally.

Items piglins want[edit]

These items are listed in the name:data/minecraft/tags/items/piglin_loved.json.

Gold-related items not wanted by piglins[edit]

Gold-like items not wanted by piglins[edit]

Zombification[edit]

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 and held items. 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; 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.

Sounds[edit]

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
Piglin snortsHostile CreaturesPiglin randomly snorts.entity.piglin.ambientsubtitles.entity.piglin.ambient0.7??
Piglin snorts angrilyHostile CreaturesPiglin snorts when provoked.entity.piglin.angrysubtitles.entity.piglin.angry0.7??
Piglin retreatsHostile CreaturesPiglin is scared off by a Zombified Piglin, Zoglin, or Soulfire.entity.piglin.retreatsubtitles.entity.piglin.retreat0.7??
Piglin hurtsHostile CreaturesPiglin gets hurt.entity.piglin.hurtsubtitles.entity.piglin.hurt0.7??
Piglin diesHostile CreaturesPiglin dies.entity.piglin.deathsubtitles.entity.piglin.death0.7-0.8??
Piglin stepsHostile CreaturesPiglin walks.entity.piglin.stepsubtitles.entity.piglin.step0.75??
Piglin celebratesHostile CreaturesPiglin snorts when they dance.entity.piglin.celebratesubtitles.entity.piglin.celebrate60.350.0?
Piglin snorts enviouslyHostile CreaturesPiglin can't pick up item from the ground because another Piglin picked it up, or when a player holds a gold related item.entity.piglin.jealoussubtitles.entity.piglin.jealous0.8??
Piglin admires itemHostile CreaturesPiglin admires a gold item.entity.piglin.admiring_itemsubtitles.entity.piglin.admiring_item0.8-0.85??
Piglin converts to Zombified PiglinHostile CreaturesPiglin converts to Zombified Piglin in the Overworld or The End.entity.piglin.converted_to_zombifiedsubtitles.entity.piglin.converted_to_zombified1.0??

Data values[edit]

ID[edit]

Java Edition:

NameNamespaced IDTranslation key
Piglinpiglinentity.minecraft.piglin

Bedrock Edition:

NameNamespaced IDNumeric ID Translation key
Piglinpiglin123entity.piglin.name

Entity data[edit]

See also: Chunk format

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

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


Achievements[edit]

Icon Achievement In-game description Actual requirements (if different) Gamerscore earned Trophy type (PS)
Oooh, shiny!.pngOooh, shiny!Distract a Piglin using gold.Give a piglin a gold item while it is aggressive toward the player.30GSilver

Advancements[edit]

Icon Advancement In-game description Parent Actual requirements (if different) Namespaced ID
Advancement-plain-raw.pngStone Age
Mine stone with your new pickaxe MinecraftObtain one of these 3 stones in the #stone_tool_materials item tag: story/mine_stone
Advancement-plain-raw.pngSuit Up
Protect yourself with a piece of iron armor Acquire HardwareHave any type of iron armor in your inventory.story/obtain_armor
Advancement-plain-raw.pngNot Today, Thank You
Block a projectile using your shield. Suit UpBlock any projectile with a shield.story/deflect_arrow
Advancement-plain-raw.pngIce Bucket Challenge
Obtain a block of obsidian Hot StuffHave a block of obsidian in your inventory.story/form_obsidian
Advancement-plain-raw.pngWho is Cutting Onions?
Obtain Crying Obsidian Nethernether/obtain_crying_obsidian
Advancement-plain-raw.pngOh Shiny
Distract Piglins with gold NetherGive a piglin one of these 22 gold-related items in the #piglin_loved item tag while not wearing any golden armor: If this advancement is attempted while the player is wearing golden armor but piglin(s) are still aggressive toward them, the advancement does not trigger. Other gold-related items, if any, may be used, but are ignored for this advancement and by the piglin.nether/distract_piglin
Advancement-plain-raw.pngAdventure
Adventure, exploration, and combat Kill any entity, or be killed by any entity.adventure/root
Advancement-plain-raw.pngMonster Hunter
Kill any hostile monster AdventureKill one of these 34 mobs: Other mobs, if any, may be killed, but are ignored for this advancement.adventure/kill_a_mob
Advancement-fancy-raw.pngMonsters Hunted
Kill one of every hostile monster Monster HunterKill each of these 34 mobs: Other mobs, if any, may be killed, but are ignored for this advancement.adventure/kill_all_mobs

History[edit]

Ambox banner content.svg
This section 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)
October 26, 2010Pigman.png Miclee suggests the concept of pigmen, the predecessor to piglins, resulting in him receiving the Bacon Cape as a reward.
Java Edition Alpha
v1.2.0previewPigman (texture) JE1.png The texture of pigmen has been added to mobs/pigman.png.[13]
Java Edition 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 BE1.png 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[14] explains that the piglin was named such because it is a gender-neutral form of the word pigman.
1.1620w07aPiglin.png Baby Piglin.png Added piglins and baby piglins.
Piglin with Crossbow.png 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.png 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.
20w12aThree Baby Piglins climbing a Baby Hoglin.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 of piglins has been 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 Revision 1.gif Piglins now occasionally dance after defeating a hoglin.
Piglin Attacking with melee weapon.png Piglins now have the vindicator attacking animation when melee attacking.
pre3The position of the head of piglins when they are dancing has been changed from Piglin celebrate hunt Revision 1.gif to Piglin celebrate hunt Revision 2.gif.
The helmet model now uses the player helmet model on the piglins instead of a unique one for them which appears wider than the player one Piglin Helmet Comparison.gif
pre6Adult piglins now may spawn with enchanted gears.
1.16.2Pre-release 1Piglins now become angry with players who open or destroy a minecart with chest or a minecart with hopper.
1.16.3Release Candidate 1Piglins no longer have pathfinding problems.[15]
Upcoming Java Edition
1.1721w08aPiglins now become angry with players who destroy deepslate gold ore.
21w14aAdded raw gold, which piglins will attempt to pick up.
Bedrock Edition
1.16.0beta 1.16.0.51Piglin BE.png Baby Piglin.png Added piglins and baby piglins.
Piglin with Crossbow BE.png Piglins can hold crossbows.
Hoglin Rider BE1.png Baby piglins can ride on the back of baby hoglins.
Piglin targeting BE1.png 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.
Piglin celebrate hunt Revision 1.gif Piglins dance after they finish hoglin hunting.
beta 1.16.0.57Piglins 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.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 the hands of piglins at all times.
1.16.20beta 1.16.20.50Adult 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 Piglin targeting BE1.png to Piglin targeting BE2.png
beta 1.16.20.53Piglins can now spawn with enchanted weapons again.
beta 1.16.20.54The attack animation of unarmed piglins has been changed.
1.16.100beta 1.16.100.54Piglins now keep their Crossbows when zombified.

Issues[edit]

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

Trivia[edit]

  • In the banner pattern "snout", there is a piglin snout. This is the same in the chiseled blackstone.
  • In Bedrock Edition, baby piglins make angry noises when any piglin gets angry.[16]
  • Unlike most neutral mobs which are peaceful by default but become hostile due to certain conditions, piglins are hostile by default but become peaceful under certain conditions.

Gallery[edit]

Renders[edit]

Ambox banner content.svg
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: A gif render of a piglin breaking its crossbow

Other[edit]

Artwork[edit]

References[edit]

  1. MC-172102 – resolved as "Works As Intended"
  2. MC-172618 – resolved as "Works As Intended"
  3. MC-172239 – resolved as "Works As Intended"
  4. MC-189485 – resolved as "Works As Intended"
  5. MC-198874
  6. MC-178973 – resolved as "Works As Intended"
  7. MC-179104 resolved as "Works as Intended"
  8. MCPE-99448
  9. This item is not listed in the piglin_loved item tag. Piglins pick this item up instantly. This is because this tag is also used for the trigger of the advancement/achievement "O(oo)h Shiny!"
  10. MCPE-91187
  11. MC-173169 Resolved as "Works As Intended"
  12. MC-172234 Resolved as "Works as Intended"
  13. The texture was added in the preview, as the texture dates from October 27, 2010 and the preview released at October 29, 2010.
  14. for users without accounts: https://media.discordapp.net/attachments/449243256849563648/690754756938825748/image0.png
  15. MC-196449
  16. MCPE-94090

See also[edit]