{{about|a specific Nether mob in Minecraft|other uses|Piglin (disambiguation)}}
{{Infobox entity
| title = Piglin
| group = Sword
| group2 = Attacking (melee)
| group3 = Crossbow
| group4 = Targeting
| group5 = Baby
| 1-1 = Piglin.png
| 1-1caption = {{JE}}
| 1-2 = Piglin BE.png
| 1-2caption = {{BE}}
| 2-1 = Piglin Attacking with melee weapon.png
| 2-1caption = {{JE}}
| 2-2 = Piglin targeting BE.png
| 2-2caption = {{BE}}
| 3-1 = Piglin with Crossbow.png
| 3-1caption = {{JE}}
| 3-2 = Piglin with Crossbow BE.png
| 3-2caption = {{BE}}
| 4-1 = Piglin with Crossbow targeting JE.png
| 4-1caption = {{JE}}
| 4-2 = Piglin with Crossbow targeting BE.png
| 4-2caption = {{BE}}
| 5-1 = Baby Piglin.png
| invimage = Piglin Spawn Egg
| health = {{hp|16}}
| damage = '''Ranged {{in|java}}:'''<br> Easy and Normal: {{hp|2}} to {{hp|5}}<br>
Hard: {{hp|3}} to {{hp|5}}<br>
'''Ranged {{in|bedrock}}:'''<br>Easy and Normal: {{hp|2}} to {{hp|4}}<br>
Hard: {{hp|2}} to {{hp|5}}<br>
'''Melee {{in|java}}:'''<br>
Easy: {{hp|5}}<br>
Normal: {{hp|8}}<br>
Hard: {{hp|12}}<br>
'''Melee {{in|bedrock}}:'''<br>
Easy: {{hp|5}}<br>
Normal: {{hp|9}}<br>
Hard: {{hp|13}}<br>
'''Unarmed:<br>'''
Easy: {{hp|3}}<br>
Normal: {{hp|5}}<br>
Hard: {{hp|7}}<br>
| size = '''{{IN|Java}}:'''<br>
Height: 1.95 blocks<br>Width: 0.6 blocks

'''{{IN|Bedrock}}:'''<br>
Height: 1.9 blocks<br>Width: 0.6 blocks
| speed = 0.35
| behavior = Neutral (adult)<br>Passive (baby)<!--Please don't change neutral to hostile, piglins have both aggressive and non-aggressive behaviors, and are as such classified as neutral per how the term is used on the wiki. Go to the community portal talk page to discuss changing the term on the wiki.-->
| spawn = {{BiomeLink|Nether Wastes}}
{{BiomeLink|Crimson Forest}}<br>
{{EnvLink|Bastion remnant}}
| equipment = {{drop|Item|Golden Sword}}
{{drop|Item|Crossbow}}
{{drop|Item|Golden Helmet}} (occasionally)
{{drop|Item|Golden Chestplate}} (occasionally)
{{drop|Item|Golden Leggings}} (occasionally)
{{drop|Item|Golden Boots}} (occasionally)
| usableitems = {{drop|Item|Gold Ingot}}
| mobtype = [[Monster]]
}}
A '''piglin''' is a [[neutral mob]] found in [[the Nether]]. It is hostile to [[player]]s unless they wear at least one piece of [[golden armor]]. It can be given [[gold ingot]]s to [[barter]] for various [[item]]s. It wields either a [[golden sword]] or a [[crossbow]], and uses either melee or ranged attacks, respectively. 

'''Baby piglins''' do not grow up, never hold weapons or attack, and take gold without giving anything in return.

== Spawning ==
Piglins spawn in groups of 2-4 in [[nether wastes]] and [[crimson forest]] biomes, and within [[bastion remnant]]s upon generation, at [[light level]]s of 11 {{in|java}} or 7 {{in|bedrock}} and below on most blocks other than [[nether wart block]]s and [[magma block]]s. {{IN|be}}, they can naturally spawn on Peaceful [[difficulty]]. Each piglin has a 20%{{only|Java}} or 5%{{only|Bedrock}} chance to spawn as a baby.

Every adult piglin spawns with a weapon: either a golden sword (50% 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 {{control|using}} a piglin [[spawn egg]] on an adult piglin.

== Drops ==
=== On death ===
{{DropsTableHead}}
{{DropsLine|name=Piglin Head|rollchancenote=Only when killed by a [[charged creeper]].}}
{{DropsTableFoot}}

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% chance of dropping each naturally held or worn <!-- might be possible to remove "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 either of these weapons:
* {{ItemLink|Golden Sword}} {{info needed|What is the probability of this item being selected?}}
* {{ItemLink|Crossbow}} {{info needed|What is the probability of this item being selected?}}

==== Armor ====
Adults sometimes {{info needed|What is the probability of each?}} spawn with 1-4 normal or enchanted pieces of armor, which may be:
*{{ItemLink|Golden Helmet}}
*{{ItemLink|Golden Chestplate}}
*{{ItemLink|Golden Leggings}}
*{{ItemLink|Golden Boots}}

=== Picked up equipment ===
Piglins always drop picked up equipment that they spawned with.

Piglins can pick up any type of armor of weapon, as long as the new equipment is better than the current equipment. See {{slink||Picking up items}}.

<!-- this doesn't belong in -->
{{IN|java}}, a picked-up item always [[drops]] with the same durability as when picked up.

{{IN|bedrock}}, armor {{info needed|Do picked up weapons take durability damage too?}} 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 golden items they have picked up are dropped.

=== Experience ===
Adults drop {{xp|5}} which is not affected by armor if killed by a player or tamed [[wolf]]. Baby piglins drop {{xp|5}}{{only|java|short=1}}<ref>{{bug|MC-175867}}</ref> or {{xp|1}}{{only|bedrock|short=1}}<ref>{{bug|MCPE-178466|||WAI}}</ref>.

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

Like [[villager]]s, piglins can open and close wooden [[door]]s but cannot open [[fence gate]]s, [[trapdoor]]s, or [[iron door]]s. They also cannot climb [[ladder]]s.

Piglins cannot swim and can drown if submerged.<ref>{{bug|MC-172102|||WAI}}</ref> They are not naturally immune to [[fire]] or [[lava]].<ref>{{bug|MC-172087|||WAI}}</ref>

Idle piglins retreat from [[zombified piglin]]s, [[zoglin]]s, [[soul fire]], [[soul torch]]es, [[soul lantern]]s, and lit [[soul campfire]]s. Piglins ignore soul fire items when pursuing the player, but still run from zombified piglins and zoglins. Baby piglins additionally retreat from [[wither skeleton]]s and [[wither]]s.

Crossbow piglins do not reload their crossbows when spawned, unlike [[pillager]]s. They reload only when provoked.

Baby piglins are passive and play with baby [[hoglin]]s, 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. 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.<ref name="MC-172600">{{bug|MC-172600|resolution=WAI}}</ref> As a consequence, they cannot fire special ammunition from their crossbows, such as [[firework rocket]]s or [[tipped arrow]]s, and they cannot use a [[totem of undying]] alongside a melee weapon. If spawned with an [[gold ingot]] in their off-hand, the piglin immediately drops a random [[bartering]] good without examining the ingot.

=== Aggravation ===
Adult piglins are neutral if the player is wearing at least one piece of golden [[armor]]. Piglins are provoked by any player who: 
*Is not wearing any piece of gold armor.
**Short range, light aggravation
*Attacks a piglin or [[piglin brute]], regardless if the player kills it in one hit or not. 
**Long range, heavy aggravation to the damaged piglin, medium aggravation to other piglins
*Opens or breaks a [[chest]], [[trapped chest]], [[ender chest]],<ref>{{Bug|MC-172239|||WAI}}</ref> [[shulker box]],<ref>{{Bug|MC-189485|||WAI}}</ref> [[barrel]], [[minecart with chest]], or [[boat with chest]].
**Opening is short range, medium aggravation
**Breaking is mid range, medium aggravation
*Breaks a [[block of gold]], [[gold ore]], [[gilded blackstone]], [[nether gold ore]], [[block of raw gold]], or [[deepslate gold ore]]. 
**Mid range, medium aggravation

==== Aggravation range ====
[[File:Line of sight for piglins.png|thumb|right|Illustration of short range aggravation of piglins. Note the 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 {{Tooltip|golden block|Block of Gold, Gold Ore, Gilded Blackstone, Nether Gold Ore, Block of Raw Gold, Deepslate Gold Ore}} 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 {{Tooltip|golden block|Block of Gold, Gold Ore, Gilded Blackstone, Nether Gold Ore, Block Of Raw Gold, Deepslate Gold Ore}}, 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.
*A piglin already under light aggravation does not re-aggravate to medium aggravation. This means that if a piglin knows a player broke a {{Tooltip|golden block|Block of Gold, Gold Ore, Gilded Blackstone, Nether Gold Ore, Block Of Raw Gold, Deepslate Gold Ore}} 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 despite the fact that the player broke the {{Tooltip|golden block|Block of Gold, Gold Ore, Gilded Blackstone, Nether Gold Ore, Block Of Raw Gold, Deepslate Gold Ore}}.

==== 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.
*A player who is fully invisible (i.e., not wearing any armor) can attack piglins, and they will not retaliate. This is not the case with any other hostile or neutral mob because mobs attacked by an invisible player still attack the player.

Opening or breaking a [[hopper]] does not provoke piglins.<ref>{{bug|MC-178973|resolution=WAI}}</ref> 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.<ref>{{bug|MC-179104|resolution=WAI}}</ref>

When provoked, piglins remain hostile for 30 seconds.

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

Adult piglins are hostile toward [[wither skeleton]]s and [[wither]]s. 

Adult piglins congregate within 16 blocks and attack in hordes.

When attacking with a [[crossbow]], piglins shoot arrows every 2 seconds. {{IN|java}}, they walk backward (stopping if at the edge of a drop) as soon as the target is close. {{IN|java}}, their crossbows can break if it runs out of durability,<ref>{{bug|MC-163960|||WAI}}</ref> making the piglins use their fists, while {{in|bedrock}} their crossbows never break.<ref>{{bug|MCPE-67489}}</ref> Unlike mobs armed with [[bow]]s, they do not strafe from left to right while shooting. Also, unlike [[pillager]]s, piglins cannot fire [[firework rocket]]s or special kinds of [[arrow]]s, since they cannot hold them in their off-hand if spawned so.<ref name="MC-172600"/> Piglins with [[sword]]s and other [[item]]s 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.

When a mob attacks a piglin or piglin brute with no AI, the piglin around that no AI piglin or piglin brute does not attack the mob that attacked it.

[[Iron golem]]s 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 are one of the few mobs that retaliate to being rammed by a [[goat]]<ref>{{bug|MC-227625}}</ref>

==== Hunting ====
[[File:Piglin celebrate hunt Revision 2.gif|thumb|upright|Piglin celebrating dance.]]
Piglins sometimes attack hoglins, causing other piglins and piglin brutes{{only|Bedrock}} in that area to attack the targeted hoglin as well.

Adults do not immediately attack adult [[hoglin]]s 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, but other piglins can still start a hunt).{{verify|Is this true?}} Once that piglin attacks the [[hoglin]], all other piglins and piglin brutes{{only|Bedrock}} in that area become hostile to the [[hoglin]]. If outnumbered by [[hoglin]]s, 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 and sticking out their arms like a T-pose.

Each individual piglin that sees a hoglin has a 10% chance of starting a hunt.{{verify|Piglin chances to start 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. Piglin brutes never pick up any porkchops or 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.{{only|Bedrock}}

==== 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. 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 ===
[[File:Piglin Bartering Nether.gif|thumb|A piglin bartering in a warped forest.]]
{{main|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{{only|Java|short=1}} or eight{{only|Bedrock|short=1}}<ref>{{bug|MCPE-99448}}</ref> seconds, then drops a random item from the [[Bartering#Items bartered|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]]. {{IN|java}}, 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 [[item]]s they come across, preferring [[gold]]-related items, which they actively seek out.

Each piglin has eight hidden [[inventory]] slots in which it can stack [[item]]s. 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. 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 preferrable, is equipped instantly. Piglins do not pick up any items when the {{cmd|gamerule mobGriefing}} is set to {{code|false}}.

Only a piglin with a crossbow can pick up crossbows.

A piglin picks up [[raw porkchop]]s and [[cooked porkchop]]s 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 {{cd|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]]/[[achievement]] "O(oo)h Shiny!", 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:
{{columns-list|
* {{BlockLink|Bell}}
* {{BlockLink|Block of gold}}
* {{BlockLink|Block of raw gold}}
* {{ItemLink|Clock}}
* {{BlockLink|Deepslate gold ore}}
* {{ItemLink|Enchanted golden apple}}
* {{BlockLink|Gilded blackstone}}
* {{ItemLink|Glistering melon slice}}
* {{ItemLink|Gold ingot}} (piglins [[barter]] something else in return)
* {{ItemLink|Gold nugget}}
* {{BlockLink|Gold ore}}
* {{ItemLink|Golden apple}}
* {{ItemLink|Golden axe}}
* {{ItemLink|Golden boots}} (worn after being examined)
* {{ItemLink|Golden carrot}}
* {{ItemLink|Golden chestplate}} (worn after being examined)
* {{ItemLink|Golden helmet}} (worn after being examined)
* {{ItemLink|Golden hoe}}
* {{ItemLink|Golden horse armor}}
* {{ItemLink|Golden leggings}} (worn after being examined)
* {{ItemLink|Golden pickaxe}}
* {{ItemLink|Golden shovel}}
* {{ItemLink|Golden sword}} (equipped if piglin is using a non-gold weapon or crossbow, or does not already have one)
* {{BlockLink|Light weighted pressure plate}}
* {{BlockLink|Nether gold ore}}
* {{BlockLink|Powered rail}}{{only|Bedrock}}<ref>{{bug|MCPE-91187}}</ref>
* {{ItemLink|Raw gold}}
}}

Baby piglins attempt to pick up every item, regardless of whether they love it, and they admire gold ingots and do not barter any items.

Adult piglins can pick up [[gold nugget]]s, but won't inspect them for bartering. (they do not actively seek out and contemplate porkchops). 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 ===
[[File:Piglin being zombified.gif|thumb|right|A piglin turning into a zombified piglin.]]
When in the [[Overworld]] or [[the End]], piglins transform into [[zombified piglin]]s after 15 seconds, retaining their armor, held items and their name. 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. 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.

A piglin does not zombify outside the Nether if its {{cd|IsImmuneToZombification}} tag is set to {{cd|true}}. Piglins with their {{cd|NoAI}} tag set to {{cd|true}} also do not zombify.

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.

== Sounds ==
{{/Sounds}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|displayname=Piglin
|spritetype=entity
|nameid=piglin
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Piglin
|spritetype=entity
|nameid=piglin
|id=123
|foot=1}}

=== Entity data ===

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

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
:See [[Bedrock Edition level format/Entity format]].

== Achievements ==
{{load achievements|Oooh;Monster Hunter;Overkill;It Spreads;Camouflage;Over-Overkill}}

== Advancements ==
{{load advancements|Not Today, Thank You;Oh Shiny;Adventure;Monster Hunter;Monsters Hunted;It Spreads;Take Aim;Arbalistic;A Throwaway Joke;Over-Overkill }}

== History ==
{{see also|Bartering/Outdated loot tables}}
{{More images|
*  Bedrock 1.16.0.63 - "Gold ingots now render properly in piglin's hands at all times." (Before and After)
|section=true
}}

{{HistoryTable
|{{HistoryLine||October 26, 2010|link={{tweet|notch|28832121068}}|[[File:Pigman.png|32px]] Miclee suggests the concept of pigmen, the predecessor to piglins, resulting in him temporarily receiving the [[Cape#Personal capes|bacon cloak]] as a reward.<ref>https://www.minecraftforum.net/forums/minecraft-java-edition/discussion/116353-minecraft-facts-big-list-of-what-notch-has</ref>}}
|{{HistoryLine|java alpha}}
|{{HistoryLine||v1.2.0|dev=preview|[[File:Pigman (texture) JE1.png|32px]] The texture of pigmen has been added: <samp>mobs/pigman.png</samp>.<ref>The texture was added in the preview, as the texture dates from October 27, 2010 and the preview released at October 29, 2010.</ref>}}
|{{HistoryLine|java beta}}
|{{HistoryLine||April 25, 2011|link={{tweet|notch|62531431175421952}}|It is suggested that pigmen may be the inhabitants of the then-to-be-implemented [[village]]s.}}
|{{HistoryLine|java}}
|{{HistoryLine||Aug 13, 2012|link={{tweet|Dinnerbone|235000878841606144}}|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.<ref>{{tweet|Dinnerbone|1250295957075292160|It was going to be a type of pigman that you could convince to fight for you, like a bodyguard.|Apr 15, 2020}}</ref> The [[player]] would have been able to give it armor and weapons.<ref>{{tweet|Dinnerbone|1250296156942266369|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|Apr 15, 2020}}</ref>}}
|{{HistoryLine||Aug 14, 2012|link={{tweet|Dinnerbone|235322386730328064}}|Further development of the pigman bodyguard.}}
|{{HistoryLine||Sep 14, 2012|link={{tweet|Dinnerbone|246757052750364673}}|The pigman bodyguard is shelved.}}
|{{HistoryLine||1.6.1|dev=13w24a|The pigman texture has been removed.}}
|{{HistoryLine||September 28, 2019|link={{Mcnet|everything-we-announced-minecon-live-2019}}|Piglins are announced at [[MINECON Live 2019]].
|[[File:Piglin targeting BE1.png|32px]] Footage shown at MINECON Live shows that angered piglins raise their arms in a manner similar to [[zombie]]s, or [[zombified piglin]]s. This is a behavior that is not reflected in the final version.}}
|{{HistoryLine||December 5, 2019|link={{tweet|henrikkniberg|1202598609407135745}}|[[File:Piglin with Crossbow.png|32px]] A video shows a piglin with crossbow with a baby [[hoglin]].}}
|{{HistoryLine||December 14, 2019|link={{tweet|henrikkniberg|1205479790985265153}}|An image of a hoglin and piglins is released.}}
|{{HistoryLine||January 14, 2020|link={{tweet|henrikkniberg|1217048924831260672}}|A video shows piglins picking up [[gold ingot|gold]] thrown by the [[player]] and throwing back a placeholder [[diamond]].}}
|{{HistoryLine||March 4, 2020|link=https://crowdin.com/translate/minecraft/9435/enus-fr#5225540|An official post on [[Crowdin]]<ref>for users without accounts: https://web.archive.org/web/20200406051054/media.discordapp.net/attachments/449243256849563648/690754756938825748/image0.png</ref> explains that the piglin was named such because it is a gender-neutral form of the word pig''man''.}}
|{{HistoryLine||1.16|dev=20w07a|[[File:Piglin.png|32px]] [[File:Baby Piglin.png|22px]] Added piglins and baby piglins.
|[[File:Piglin with Crossbow.png|32px]] [[File:Piglin left handed with Crossbow.png|35px]] Piglins can hold [[crossbow]]s.
|Piglins can be converted into [[zombie pigmen]] in the [[Overworld]].
|[[File:Piglin Admiring Item.png|32px]] The player can barter with Piglins.|[[File:Baby Piglin holding gold.png|22px]] Baby Piglins don't barter.|Piglins attack [[Wither Skeletons|wither skeletons]], but only when in groups of two or more.<ref>{{bug|MC-172161|||WAI}}</ref>|Piglins and hoglins don't look at their target.<ref>{{bug|MC-172428|||Fixed}}</ref>|[[File:Baby Piglin with Golden Sword.png|22px]] [[File:Baby Piglin with Crossbow.png|22px]] Baby piglins can pick up items.|[[File:Piglin holding Crossbow to fire with no arrow JE.png|32px]] [[File:Piglin left handed holding Crossbow to fire with no arrow JE.png|32px]] Piglins can hold up crossbows to fire with no arrows loaded if interrupted while loading them.<ref>{{bug|MC-177973}}</ref>|[[File:Piglin using one hand to hold a loaded crossbow JE1.png|35px]] Piglins use one hand to hold a loaded crossbow.<ref>{{bug|MC-182877}}</ref>}}
|{{HistoryLine|||dev=20w09a|Piglins now have an {{cd|IsImmuneToZombification}} data value that, when set, prevents them from zombifying in the Overworld.
|The loot table of [[item]]s that can be [[barter]]ed from piglins has been modified.
|[[File:Baby Piglin Riding a Baby Hoglin.png|32px]] Baby piglins can now ride on the back of baby [[hoglin]]s.}}
|{{HistoryLine|||dev=20w10a|The loot table of [[item]]s that can be [[barter]]ed 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.<ref>{{bug|MC-173858|||Fixed}}</ref>
|[[Firework]] damage now provokes piglins.<ref>{{bug|MC-111498||Fireworks and water bottles damage don't make neutral mobs angry or hostile|Fixed}}</ref>}}
|{{HistoryLine|||dev=20w11a|[[Enchanted book]]s and [[iron boots]] with [[Soul Speed]] have been added to the items that can be [[barter]]ed from piglins.|Players are able to set "LeftHanded" to "1b" for piglins.
|Piglins and hoglins look at their target.}}
|{{HistoryLine|||dev=20w12a|[[File:Three Baby Piglins climbing a Baby Hoglin.png|x48px]] Baby piglins can now ride on top of each other on a baby [[hoglin]], up to three baby piglins can climb on at once.}}
|{{HistoryLine|||dev=20w14a|Piglins now avoid [[zoglin]]s, the same way they avoid [[zombified piglin]]s.
|A baby piglin no longer holds a [[weapon]] when it turns into a [[Zombified Piglin|zombie]].
|The texture size has changed from 128x64 to 64x64, and the layout of the parts of the ears of piglins has been changed.}}
|{{HistoryLine|||dev=20w16a|Piglins now spawn in [[bastion remnant]]s.}}
|{{HistoryLine|||dev=20w19a|Piglins now become [[zombified piglin]]s when in [[the End]].}}
|{{HistoryLine|||dev=20w21a|Piglins no longer walk around when admiring gold.
|If a piglin is [[damage|hurt]] while admiring an [[gold ingot]], the ingot now disappears.}}
|{{HistoryLine|||dev=20w22a|[[File:Piglin celebrate hunt Revision 1.gif|40px]] Piglins now occasionally dance after defeating a [[hoglin]].
|[[File:Piglin Attacking with melee weapon.png|32px]] Piglins now have the [[vindicator]] attacking animation when melee attacking.}}
|{{HistoryLine|||dev=pre3|The position of the head of piglins when they are dancing has been changed from [[File:Piglin celebrate hunt Revision 1.gif|40px]] to [[File:Piglin celebrate hunt Revision 2.gif|40px]].
|The helmet model now uses the player helmet model on the piglins instead of a unique one that appears wider than the player's. [[File:Piglin Helmet Comparison.gif|100px]]
|Piglins get angry if they detect a player breaking a storage block or a golden block, even when out of their line of sight.}}
|{{HistoryLine|||dev=pre6|Adult piglins now may spawn with [[enchantments|enchanted]] gear.}}
|{{HistoryLine||1.16.2|dev=Pre-release 1|Piglins now become angry with players who open or destroy a [[minecart with chest]] or a [[minecart with hopper]].}}
|{{HistoryLine||1.16.3|dev=Release Candidate 1|Piglins no longer have pathfinding problems.<ref>{{bug|MC-196449|||Fixed}}</ref>}}
|{{HistoryLine||1.17|dev=20w45a|Baby piglins can no longer pick up [[leather]].<ref>{{bug|MC-197179|||Fixed}}</ref>}}
|{{HistoryLine|||dev=21w08a|Piglins now become angry with players who destroy [[deepslate gold ore]].}}
|{{HistoryLine|||dev=21w14a|Added [[raw gold]], which piglins attempt to pick up.}}
|{{HistoryLine|||dev=21w18a|Piglins now become angry with players who destroy [[blocks of raw gold]].
|Piglins can also now pick up blocks of raw gold.}}
|{{HistoryLine||1.19|dev=22w12a|Piglins now become angry with players who open or destroy a [[boat with chest]].}}
|{{HistoryLine||1.19.3|exp=Update 1.20|dev=22w46a|Piglins now drop [[piglin head]]s when killed by a [[charged creeper]].|Piglins' detection range is now reduced when the player wears a piglin head.}}
|{{HistoryLine||1.19.4|dev=23w06a|Minecart with hopper no longer aggravates piglins when opened.<ref>{{bug|MC-198874|||Fixed}}</ref>}}
|{{HistoryLine||1.21.4|dev=24w45a|Prefer to pick [[crossbow]]s from the ground as opposed to other items.}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.51|[[File:Piglin BE.png|32px]] [[File:Baby Piglin.png|22px]] Added piglins and baby piglins.
|[[File:Piglin with Crossbow BE.png|32px]] Piglins can hold [[crossbow]]s.
|[[File:Hoglin Rider BE1.png|32px]] Baby piglins can ride on the back of baby [[hoglin]]s.
|[[File:Piglin targeting BE1.png|32px]] Piglins raise their arms in a manner similar to [[zombie]]s when attacking.
|Currently, piglins can [[drops|drop]] only [[flint and steel]] and [[obsidian]] while [[bartering]] as a placeholder.
|Piglins currently drop 0-2 [[arrow]]s, 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]].
|[[File:Piglin celebrate hunt Revision 1.gif|40px]] Piglins dance after they finish [[hoglin]] hunting.}}
|{{HistoryLine|||dev=beta 1.16.0.57|Piglins now have their own [[sound]]s.
|Piglin [[bartering]] has been properly added.
|Piglins can no longer drop [[arrow]]s when [[death|killed]].
|The [[health]] of piglins has been reduced from 24 to 16.
|Piglins now spawn in [[bastion remnant]]s.
|Baby piglins can now ride on top of each other on a baby [[hoglin]], up to three baby piglins can climb on at once.}}
|{{HistoryLine|||dev=beta 1.16.0.59|Piglins now avoid [[zoglin]]s, the same way they avoid [[zombified piglin]]s.
|Piglins now spawn in the [[nether wastes]].
|Piglins now properly sit in [[boat]]s and [[minecart]]s.
|Piglins no longer despawn in [[Peaceful]] mode.}}
|{{HistoryLine|||dev=beta 1.16.0.63|Piglins now avoid [[soul campfire]]s.
|[[Gold ingot]]s now render properly in the hands of piglins at all times.}}
|{{HistoryLine||1.16.20|dev=beta 1.16.20.50|Adult piglins drop gold ingots if killed with one hit while contemplating them and no longer spawn with enchanted [[weapon]]s 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 [[File:Piglin targeting BE1.png|32px]] to [[File:Piglin targeting BE2.png|32px]]
|Piglins get angry when players attack Piglin brutes.}}
|{{HistoryLine|||dev=beta 1.16.20.53|Piglins can now spawn with enchanted weapons again.}}
|{{HistoryLine|||dev=beta 1.16.20.54|The attack animation of unarmed piglins has been changed.}}
|{{HistoryLine||1.16.100|dev=beta 1.16.100.54|Piglins now keep their Crossbows when zombified.}}
|{{HistoryLine||1.17.0|dev=beta 1.17.0.54|Piglins now pick up [[raw gold]], [[block of raw gold]], and [[deepslate gold ore]].}}
|{{HistoryLine||1.19.60|exp=Next Major Update|dev=Preview 1.19.60.20|Piglins now drop [[piglin head]]s when killed by a [[charged creeper]].|Piglins' detection range is now reduced when the player wears a piglin head.}}
}}

== Issues ==
{{Issue list}}

== Trivia ==
*In [[Bedrock Edition]], baby piglins make angry noises when any piglin gets angry.<ref>{{bug|MCPE-94090}}</ref>
*Piglin sounds were made by blending sounds of a Swedish domestic pig known as a "Linderödssvin".<ref>{{tweet|slamp0000|1379325769877446656|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.|April 6, 2021}}</ref>
* In Bedrock Edition, a baby piglin can be made to wear armor and wield a sword, but not a gold sword.
*Originally, it was planned for piglins to have different ear flopping animations to represent their mindset and different emotions (excitement, fear and anger), but it was cut due to it being "not really that important and it's not worth going last mile to finish it".<ref>{{ytl|2paqmBrRuD0|06 Space Vadå prototyp @ 6:36|Agila Sverige|June 21, 2022|t=396}}</ref>
*The page for the Nether Update mentions that piglins have mined all of the [[netherite]] out leaving only the [[Ancient Debris|ancient debris]] behind.<ref>https://www.minecraft.net/en-us/updates/nether</ref>

== Gallery ==
=== Renders ===
{{moreImages|A gif render of a piglin breaking its crossbow}}
<gallery>
File:Sitting Piglin.png|The position of a sitting piglin.
File:Piglin Admiring Item.png|A piglin looking at a gold ingot.
File:Sitting Baby Piglin.png|The position of a sitting baby piglin.
File:Baby Piglin Riding a Baby Hoglin.png|A baby piglin riding a baby [[hoglin]].
File:Three Baby Piglins climbing a Baby Hoglin.png|Multiple baby piglins climbing a baby hoglin.
</gallery>
==== Armed ====
<gallery>
Piglin in golden armor JE2.png|A full golden armor piglin.
Piglin Charging Crossbow.gif|A piglin loading up a [[crossbow]].
</gallery>

=== Screenshots ===
<gallery>
Piglins Attacking Wither Skeletons.png|Piglins attacking [[wither skeleton]]s.
Enchanted Nose.png|A render error causing the enchantment glint to cover the snout, fixed in  20w18a.
Piglin chasing hoglin.jpg|A piglin chasing a [[hoglin]].
BabyPiglinHoldingLavaBucket.png|An example of a baby piglin holding a [[lava bucket]].
Baby Piglin riding a Baby Hoglin.png|An example of a baby piglin riding a baby hoglin.
PiglinwithClock.png|A fully armored piglin examining a clock.
1.16.2-nether-pig-like-mobs.png|All of the  [[Pig (disambiguation)|pig-like]] mobs in the  Nether Update.
Piglin chasing hoglin.jpg|A piglin chasing a hoglin
Piglin strider shiver.png|A piglin alongside a shivering strider.
Piglin villager farmer.png|A piglin sneaking up on a villager.
Zombified Piglin vs Piglin.png|A piglin in the [[Overworld]], next to a [[zombified piglin]].
</gallery>

=== Mojang images ===
<gallery>
Piglins.png|Piglins.
Piglins VS Hoglin.png|A preview showing two piglins fighting a [[hoglin]] in a [[crimson forest]].
Minecraft-Nether-Crimson-Forest-02.jpg|A preview of a piglin next to a hoglin in the   [[crimson forest]].
Piglin Golden Age.jpg|Piglins handling gold.
Crimson Forest Piglin.png|Piglin in a crimson forest.
A Piglin.jpg|A piglin in the Nether.
</gallery>

=== Textures ===
<gallery class="pixel-image">
Piglin (texture).png|Piglin texture file.
Pigman (texture) JE1.png|Pigman texture file.
Tribal Pigman Texture.png|A variant of the original pigman texture, created by Xaphobia, which was also planned to be added.
</gallery>

=== In other media ===
<gallery>
File:NetherUpdateArtwork.png|Piglins in promotional artwork for the [[Nether Update]].
File:Netherupdate-darkside.png|Official artwork of the piglin standing next to a fire.
File:Netherupdate-piglinfire.gif|Animated artwork GIF of a piglin standing next to a fire.
File:Netherupdate-piglin.jpg|Official artwork of a piglin.
File:Netherupdate-piglins.png|Official artwork of two piglins.
File:15th Anniversary Piglin.png|Official artwork of one piglin.
File:Piglin Art.jpg|Official artwork of four piglins.
File:SSBU spirit Piglin.png|Piglin Spirit from ''[[Super Smash Bros. Ultimate]]''.
File:15Years-Banner-1.png|Two piglins fighting [[Player|Efe]] in artwork for the 15th anniversary of ''Minecraft''.
File:LEGO Piglin.png|[[Lego Minecraft]] Piglin.
File:MCLReturnofPiglinsCover.jpg|Several piglins as they appear on the cover of ''[[Minecraft Legends: Return of the Piglins]]''.
File:Piglin Legends Event.jpg|Artwork of two piglins and a piglin brute, made to promote the [[Minecraft Legends Live Event]].
File:Legends Piglin Retreat.gif|An animation of a piglin retreating, utilized in the [[Minecraft Legends Live Event]].
Easy victory.gif|Animation of several piglin hunters easily killing a [[hoglin]].
File:Piglin Figure.jpg|Official Piglin action figure.
File:Nylium Figures.jpg|A group of several figures, including one of [[Steve]].
File:Lego Piglin keychain.webp|Keychain of a [[LEGO]] Piglin.
File:Piglin Hoodie.png|[[Character Creator|Piglin Tunic]]
File:Piglin Natural.png|[[Texture Pack DLC|Natural texture pack]]
File:Piglin TP.png|[[Texture Pack DLC|Plastic texture pack]]
File:AMCM Piglins in the Nether.png|Piglins in the [[The Nether|Nether]] looking at [[Steve]] in [[A Minecraft Movie]].
</gallery>

== See also ==
*{{EntityLink|Piglin Brute}}
*{{EntityLink|Zombified Piglin}}
*{{ItemLink|id=gold-ingot|Bartering}}
*{{EntityLink|Pigman}}

== References ==
{{reflist}}

== External links == 
*[https://www.minecraft.net/en-us/article/meet-piglins Meet the Piglins] – minecraft.net on June 17, 2020
*[https://www.minecraft.net/en-us/article/craft-your-own-legend/piglin Craft Your Own Legend: Piglin]- minecraft.net on March 24, 2023

== Navigation ==
{{Navbox mobs}}

[[Category:Neutral mobs]]
[[Category:Nether mobs]]
[[Category:Monster mobs]]

[[Category:Piglins]]

[[de:Piglin]]
[[es:Piglin]]
[[fr:Piglin]]
[[ja:ピグリン]]
[[ko:피글린]]
[[lzh:豕靈]]
[[nl:Piglins]]
[[pl:Piglin]]
[[pt:Piglin]]
[[ru:Пиглин]]
[[uk:Піґлін]]
[[zh:猪灵]]
