Minecraft:Piglin: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{For}} | {{MC/For}} | ||
{{Infobox entity | {{Infobox entity | ||
| title = Piglin | | title = Piglin | ||
| Line 7: | Line 7: | ||
| group4 = Baby | | group4 = Baby | ||
| 1-1 = Piglin.png | | 1-1 = Piglin.png | ||
| 1-1caption = {{JE}} | | 1-1caption = {{MC/JE}} | ||
| 1-2 = Piglin BE.png | | 1-2 = Piglin BE.png | ||
| 1-2caption = {{BE}} | | 1-2caption = {{MC/BE}} | ||
| 2-1 = Piglin with Crossbow.png | | 2-1 = Piglin with Crossbow.png | ||
| 2-1caption = {{JE}} | | 2-1caption = {{MC/JE}} | ||
| 2-2 = Piglin with Crossbow BE.png | | 2-2 = Piglin with Crossbow BE.png | ||
| 2-2caption = {{BE}} | | 2-2caption = {{MC/BE}} | ||
| 3-1 = Piglin with Golden Spear JE1.png | | 3-1 = Piglin with Golden Spear JE1.png | ||
| 3-1caption = {{JE}} | | 3-1caption = {{MC/JE}} | ||
| 3-2 = Piglin with Golden Spear BE1.png | | 3-2 = Piglin with Golden Spear BE1.png | ||
| 3-2caption = {{BE}} | | 3-2caption = {{MC/BE}} | ||
| 3-1size = x200px | | 3-1size = x200px | ||
| 4-1 = Baby Piglin JE2 BE2.png | | 4-1 = Baby Piglin JE2 BE2.png | ||
| Line 23: | Line 23: | ||
| Invimage = Piglin Spawn Egg | | Invimage = Piglin Spawn Egg | ||
| health = {{hp|16}} | | health = {{hp|16}} | ||
| armor = {{ | | armor = {{MC/Armor|0}} | ||
| damage = '''Ranged:'''<br> | | damage = '''Ranged:'''<br> | ||
{{ | {{MC/Itemlink|Crossbow}}: <br> | ||
'''{{ | '''{{MC/In|Java}}:'''<br> | ||
Easy and Normal: {{hp|2}} to {{hp|5}}<br> | Easy and Normal: {{hp|2}} to {{hp|5}}<br> | ||
Hard: {{hp|3}} to {{hp|5}}<br> | Hard: {{hp|3}} to {{hp|5}}<br> | ||
'''{{ | '''{{MC/In|Bedrock}}:'''<br> | ||
Easy and Normal: {{hp|2}} to {{hp|4}}<br> | Easy and Normal: {{hp|2}} to {{hp|4}}<br> | ||
Hard: {{hp|2}} to {{hp|5}}<br> | Hard: {{hp|2}} to {{hp|5}}<br> | ||
<hr> | <hr> | ||
'''Melee:'''<br> | '''Melee:'''<br> | ||
{{ | {{MC/Itemlink|Golden Sword}}: <br> | ||
'''{{ | '''{{MC/In|Java}}:'''<br> | ||
Easy: {{hp|5}}<br> | Easy: {{hp|5}}<br> | ||
Normal: {{hp|8}}<br> | Normal: {{hp|8}}<br> | ||
Hard: {{hp|12}}<br> | Hard: {{hp|12}}<br> | ||
'''{{ | '''{{MC/In|Bedrock}}:'''<br> | ||
Easy: {{hp|5.5}}<br> | Easy: {{hp|5.5}}<br> | ||
Normal: {{hp|9}}<br> | Normal: {{hp|9}}<br> | ||
Hard: {{hp|13.5}}<br> | Hard: {{hp|13.5}}<br> | ||
{{ | {{MC/Itemlink|Golden Spear}}: <br> | ||
Easy: {{hp|4}}<br> | Easy: {{hp|4}}<br> | ||
Normal: {{hp|6}}<br> | Normal: {{hp|6}}<br> | ||
| Line 52: | Line 52: | ||
Normal: {{hp|5}}<br> | Normal: {{hp|5}}<br> | ||
Hard: {{hp|7.5}}<br> | Hard: {{hp|7.5}}<br> | ||
| size = '''{{ | | size = '''{{MC/In|Java}}:'''<br> | ||
Height: 1.95 blocks<br>Width: 0.6 blocks<br> | Height: 1.95 blocks<br>Width: 0.6 blocks<br> | ||
'''{{ | '''{{MC/In|Bedrock}}:'''<br> | ||
Height: 1.9 blocks<br>Width: 0.6 blocks | Height: 1.9 blocks<br>Width: 0.6 blocks | ||
| speed = 0.35 | | 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.--> | | 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.--> | ||
| mobtype = {{ | | mobtype = {{MC/Entitylink|Monster}} | ||
| spawn = {{ | | spawn = {{MC/Biomelink|Nether Wastes}} | ||
{{ | {{MC/Biomelink|Crimson Forest}}<br> | ||
{{EnvLink|Bastion Remnant}} | {{MC/EnvLink|Bastion Remnant}} | ||
| equipment = {{ | | equipment = {{MC/Drop|Item|Golden Sword}} (45% of adults, right hand: 95%; left hand: 5%{{only|java|short=1}}; may be enchanted)<br> | ||
{{ | {{MC/Drop|Item|Crossbow}} (50% of adults, right hand: 95%; left hand: 5%{{only|java|short=1}}; may be enchanted)<br> | ||
{{ | {{MC/Drop|Item|Golden Spear}} (5% of adults, right hand: 95%; left hand: 5%{{only|java|short=1}}; may be enchanted)<br> | ||
{{ | {{MC/Drop|Item|Golden Helmet}} (occasionally on adults, may be enchanted)<br> | ||
{{ | {{MC/Drop|Item|Golden Chestplate}} | ||
(occasionally on adults, may be enchanted)<br> | (occasionally on adults, may be enchanted)<br> | ||
{{ | {{MC/Drop|Item|Golden Leggings}} (occasionally on adults, may be enchanted)<br> | ||
{{ | {{MC/Drop|Item|Golden Boots}} (occasionally on adults, may be enchanted)<br> | ||
| usableitems = {{ | | usableitems = {{MC/Drop|Item|Gold Ingot}} | ||
| tickingorder = | | tickingorder = | ||
| gravity = | | gravity = | ||
| Line 85: | Line 85: | ||
Each piglin has a 20%{{only|Java}} or 5%{{only|Bedrock}} chance to spawn as a baby. | Each piglin has a 20%{{only|Java}} or 5%{{only|Bedrock}} chance to spawn as a baby. | ||
{{ | {{MC/In|Java}}, piglins do not naturally spawn in the Peaceful difficulty except during [[Minecraft:world generation]] as part of bastions. However, they are passive. | ||
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. | 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 {{ | A baby piglin can also be spawned by {{MC/Control|using}} a piglin spawn egg on an adult piglin. | ||
{{Mob spawn table}} | {{Mob spawn table}} | ||
| Line 96: | Line 96: | ||
=== On death === | === On death === | ||
{{DropTable | {{DropTable | ||
|{{DropLine|name=Piglin Head|notes=charged_creeper}} | |{{MC/DropLine|name=Piglin Head|notes=charged_creeper}} | ||
|notes = | |notes = | ||
charged_creeper = Only when killed by a charged creeper. | charged_creeper = Only when killed by a charged creeper. | ||
| Line 110: | Line 110: | ||
==== Weapons ==== | ==== Weapons ==== | ||
A piglin naturally spawns with one of these weapons: | A piglin naturally spawns with one of these weapons: | ||
* {{ | * {{MC/Itemlink|Golden Sword}} (45%, or {{frac|9|20}}) | ||
* {{ | * {{MC/Itemlink|Crossbow}} (50%, or {{frac|1|2}}) | ||
* {{ | * {{MC/Itemlink|Golden Spear}} (5%, or {{frac|1|20}}) | ||
==== Armor ==== | ==== Armor ==== | ||
Adults sometimes {{ | Adults sometimes {{MC/Info needed|What is the probability of each?}} spawn with 1-4 normal or enchanted pieces of armor, which may be: | ||
*{{ | *{{MC/Itemlink|Golden Helmet}} | ||
*{{ | *{{MC/Itemlink|Golden Chestplate}} | ||
*{{ | *{{MC/Itemlink|Golden Leggings}} | ||
*{{ | *{{MC/Itemlink|Golden Boots}} | ||
=== Picked up equipment === | === Picked up equipment === | ||
| Line 127: | Line 127: | ||
<!-- this doesn't belong in --> | <!-- this doesn't belong in --> | ||
{{ | {{MC/In|java}}, a picked-up item always drops with the same durability as when picked up. | ||
{{ | {{MC/In|bedrock}}, armor {{MC/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 === | === Other picked up items === | ||
| Line 135: | Line 135: | ||
=== Experience === | === Experience === | ||
Adults drop {{ | Adults drop {{MC/Xp|5}}, which is not affected by armor, if killed by a player or tamed [[Minecraft:wolf]]. Baby piglins drop {{MC/Xp|5}}{{only|java|short=1}}<ref>{{bug|MC-175867}}</ref> or {{MC/Xp|1}}{{only|bedrock|short=1}}<ref>{{bug|MCPE-178466|||WAI}}</ref>. | ||
== Behavior == | == Behavior == | ||
| Line 171: | Line 171: | ||
[[File:Line of sight for piglins.png|thumb|right|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.]] | [[File:Line of sight for piglins.png|thumb|right|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 [[Minecraft: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. | * Short range: When a piglin has been aggravated by a player not wearing gold [[Minecraft: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. | *Mid range: When a piglin has been aggravated by a player breaking a {{MC/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. | *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. | ||
| Line 179: | Line 179: | ||
==== Medium aggravation ==== | ==== 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. | *Medium aggravation occurs when a piglin has been aggravated by a player opening/breaking a container or breaking a {{MC/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. | *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 [[Minecraft:armor]], the player can de-aggravate that piglin by putting on gold armor or losing the line of sight even though the player broke the {{Tooltip|golden block|Block of Gold, Gold Ore, Gilded Blackstone, Nether Gold Ore, Block Of Raw Gold, Deepslate Gold Ore}}. | *A piglin already under light aggravation does not re-aggravate to medium aggravation. This means that if a piglin knows a player broke a {{MC/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 [[Minecraft:armor]], the player can de-aggravate that piglin by putting on gold armor or losing the line of sight even though the player broke the {{MC/Tooltip|golden block|Block of Gold, Gold Ore, Gilded Blackstone, Nether Gold Ore, Block Of Raw Gold, Deepslate Gold Ore}}. | ||
==== Heavy aggravation ==== | ==== Heavy aggravation ==== | ||
| Line 189: | Line 189: | ||
==== Other ==== | ==== Other ==== | ||
*A player who is under the influence of the [[Minecraft: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 under the influence of the [[Minecraft: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. | ||
*{{ | *{{MC/In|java}}, a player under the [[Minecraft: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.<ref>{{bug|MC-235027||Invisible players cannot provoke piglins, piglin brutes and hoglins when hitting/shooting them}}</ref> | ||
Opening or breaking a [[Minecraft: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 [[Minecraft:bell]] does not provoke them either, even though piglins admire them as gold.<ref>{{bug|MC-179104|resolution=WAI}}</ref> | Opening or breaking a [[Minecraft: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 [[Minecraft:bell]] does not provoke them either, even though piglins admire them as gold.<ref>{{bug|MC-179104|resolution=WAI}}</ref> | ||
| Line 195: | Line 195: | ||
When provoked, piglins remain hostile for 30 seconds. | When provoked, piglins remain hostile for 30 seconds. | ||
Unlike other neutral mobs, piglins don't count towards the {{ | Unlike other neutral mobs, piglins don't count towards the {{MC/Cd|AngryAt}} tag.<ref>{{Bug|MC-256289||AngryAt tag is not used by certain neutral mobs, causing them to forget their target upon reloading game}}</ref><ref>{{Bug|MC-195278||If the "universalAnger" is set to true, certain neutral mobs don't fight back when you attack them}}</ref><ref>{{Bug|MC-187857||New neutral mob behaviour improvements were not implemented for llamas, dolphins, and spiders in the daylight}}</ref> | ||
=== Attacking === | === Attacking === | ||
| Line 204: | Line 204: | ||
==== Using crossbows ==== | ==== Using crossbows ==== | ||
When attacking with a [[Minecraft:crossbow]], piglins shoot arrows every 2 seconds. {{ | When attacking with a [[Minecraft:crossbow]], piglins shoot arrows every 2 seconds. {{MC/In|java}}, they walk backward (stopping if at the edge of a drop) as soon as the target is close. {{MC/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 {{MC/In|bedrock}} their crossbows never break.<ref>{{bug|MCPE-67489}}</ref> Unlike mobs armed with [[Minecraft:bow]]s, they do not strafe from left to right while shooting. Also, unlike pillagers, piglins cannot fire firework rockets or special kinds of [[Minecraft:arrow]]s, since they cannot hold them in their off-hand if spawned so.<ref name="MC-172600"/> | ||
==== Using spears ==== | ==== Using spears ==== | ||
| Line 224: | Line 224: | ||
Piglins sometimes attack hoglins, causing other piglins and piglin brutes{{only|Bedrock}} in that area to attack the targeted hoglin as well. | 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 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).{{ | 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).{{MC/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 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.{{ | Each piglin that sees a hoglin has a 10% chance of starting a hunt.{{MC/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. | After a hunt, any nearby piglins pick up the porkchops or cooked porkchops the hoglin dropped, but not the leather. | ||
| Line 239: | Line 239: | ||
=== Bartering === | === Bartering === | ||
[[File:Piglin Bartering Nether.gif|thumb|A piglin bartering in a warped forest.]] | [[File:Piglin Bartering Nether.gif|thumb|A piglin bartering in a warped forest.]] | ||
{{ | {{MC/Main|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{{only|Java|short=1}} or eight{{only|Bedrock|short=1}}<ref>{{bug|MCPE-99448}}</ref> seconds, then drops 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 [[Minecraft:dispenser]] or [[Minecraft:dropper]]. {{ | 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{{only|Java|short=1}} or eight{{only|Bedrock|short=1}}<ref>{{bug|MCPE-99448}}</ref> seconds, then drops 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 [[Minecraft:dispenser]] or [[Minecraft:dropper]]. {{MC/In|java}}, the pool for what piglins can barter may be modified in a data pack. | ||
Piglins can still barter while riding another mob. | Piglins can still barter while riding another mob. | ||
=== Picking up items === | === Picking up items === | ||
{{ | {{MC/Main|Geared mobs#Picking up gear}} | ||
Piglins can pick up any [[Minecraft:item]]s they come across, except for [[Minecraft:leather]], and prefer gold-related items, which they actively seek out. | Piglins can pick up any [[Minecraft:item]]s they come across, except for [[Minecraft:leather]], and prefer gold-related items, which they actively seek out. | ||
| Line 253: | Line 253: | ||
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. | 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 preferrable, is equipped instantly. Piglins do not pick up any items when the {{ | 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 {{MC/Cmd|gamerule mobGriefing}} is set to {{MC/Code|false}}. | ||
Only a piglin with a crossbow can pick up crossbows. | Only a piglin with a crossbow can pick up crossbows. | ||
| Line 260: | Line 260: | ||
==== Piglin loved items ==== | ==== Piglin loved items ==== | ||
Items with the {{ | Items with the {{MC/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/[[Minecraft: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: | Items that piglins love: | ||
{{columns-list| | {{columns-list| | ||
* {{ | * {{MC/Blocklink|Bell}} | ||
* {{ | * {{MC/Blocklink|Block of Gold}} | ||
* {{ | * {{MC/Blocklink|Block of Raw Gold}} | ||
* {{ | * {{MC/Itemlink|Clock}} | ||
* {{ | * {{MC/Blocklink|Deepslate Gold Ore}} | ||
* {{ | * {{MC/Itemlink|Enchanted Golden Apple}} | ||
* {{ | * {{MC/Blocklink|Gilded Blackstone}} | ||
* {{ | * {{MC/Itemlink|Glistering Melon Slice}} | ||
* {{ | * {{MC/Itemlink|Gold Ingot}} (piglins barter something else in return) | ||
* {{ | * {{MC/Itemlink|Gold Nugget}} | ||
* {{ | * {{MC/Blocklink|Golden Dandelion}} | ||
* {{ | * {{MC/Blocklink|Gold Ore}} | ||
* {{ | * {{MC/Itemlink|Golden Apple}} | ||
* {{ | * {{MC/Itemlink|Golden Axe}} | ||
* {{ | * {{MC/Itemlink|Golden Boots}} (worn after being examined) | ||
* {{ | * {{MC/Itemlink|Golden Carrot}} | ||
* {{ | * {{MC/Itemlink|Golden Chestplate}} (worn after being examined) | ||
* {{ | * {{MC/Itemlink|Golden Helmet}} (worn after being examined) | ||
* {{ | * {{MC/Itemlink|Golden Hoe}} | ||
* {{ | * {{MC/Itemlink|Golden Horse Armor}} | ||
* {{ | * {{MC/Itemlink|Golden Nautilus Armor}} | ||
* {{ | * {{MC/Itemlink|Golden Leggings}} (worn after being examined) | ||
* {{ | * {{MC/Itemlink|Golden Pickaxe}} | ||
* {{ | * {{MC/Itemlink|Golden Shovel}} | ||
* {{ | * {{MC/Itemlink|Golden Spear}} | ||
* {{ | * {{MC/Itemlink|Golden Sword}} (equipped if piglin is using a non-gold weapon or crossbow, or does not already have one) | ||
* {{ | * {{MC/Blocklink|Light Weighted Pressure Plate}} | ||
* {{ | * {{MC/Blocklink|Nether Gold Ore}} | ||
* {{ | * {{MC/Itemlink|Raw Gold}} | ||
}} | }} | ||
| Line 306: | Line 306: | ||
When in the [[Minecraft:Overworld]] or [[Minecraft: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{{only|java|short=1}}<ref>This does not happen in Bedrock Edition due to {{bug|MCPE-70866}}.</ref>; 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. | When in the [[Minecraft:Overworld]] or [[Minecraft: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{{only|java|short=1}}<ref>This does not happen in Bedrock Edition due to {{bug|MCPE-70866}}.</ref>; 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 {{ | A piglin does not zombify outside the Nether if its {{MC/Cd|IsImmuneToZombification}} tag is set to {{MC/Cd|true}}. Piglins with their {{MC/Cd|NoAI}} tag set to {{MC/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. | 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. | ||
| Line 315: | Line 315: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{MC/Edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 323: | Line 323: | ||
|nameid=piglin | |nameid=piglin | ||
|foot=1}} | |foot=1}} | ||
{{ | {{MC/Edition|bedrock}}: | ||
{{ID table | {{ID table | ||
|edition=bedrock | |edition=bedrock | ||
| Line 340: | Line 340: | ||
Piglins have entity data associated with them that contains various properties. | Piglins have entity data associated with them that contains various properties. | ||
{{ | {{MC/El|java}}: | ||
{{ | {{MC/Main|Entity format}} | ||
<section begin="entity data"/><div class="treeview"> | <section begin="entity data"/><div class="treeview"> | ||
* {{ | * {{MC/Nbt|compound}} Entity data | ||
** {{ | ** {{MC/Nbt inherit/entity}} | ||
** {{ | ** {{MC/Nbt inherit/mob}} | ||
** {{ | ** {{MC/Nbt|byte|CannotHunt}}: {{MC/Nbt boolean}} – if <code>true</code>, the piglin does not attack hoglins. Set to true for piglins spawned as a part of bastion remnants during world generation. | ||
** {{ | ** {{MC/Nbt|list|Inventory}}: Each compound tag in this list is an item in the piglin's inventory. It can hold a maximum of 8 items. | ||
***{{ | ***{{MC/Nbt|compound}} An item in the inventory, excluding the <code>Slot</code> tag. | ||
**** {{ | **** {{MC/Nbt inherit/itemnoslot|indent=****}} | ||
** {{ | ** {{MC/Nbt|byte|IsBaby}}: {{MC/Nbt boolean}} – <code>true</code> if the piglin is a baby. May not exist. | ||
** {{ | ** {{MC/Nbt|byte|IsImmuneToZombification}}: {{MC/Nbt boolean}} – if <code>true</code>, the piglin does not transform to a zombified piglin when in the [[Minecraft:Overworld]]. | ||
** {{ | ** {{MC/Nbt|integer|TimeInOverworld}}: The number of [[Minecraft:tick]]s that the piglin has existed in the Overworld; the piglin converts to a zombified piglin when this is greater than 300. | ||
</div><section end="entity data"/> | </div><section end="entity data"/> | ||
{{ | {{MC/El|bedrock}}: | ||
:See [[Minecraft:Bedrock Edition level format/Entity format]]. | :See [[Minecraft:Bedrock Edition level format/Entity format]]. | ||
== Achievements == | == Achievements == | ||
{{ | {{MC/Load achievements|Oooh, shiny!;Monster Hunter;It Spreads;Camouflage}} | ||
Achievements that apply to all mobs: | Achievements that apply to all mobs: | ||
{{collapse|content={{ | {{collapse|content={{MC/Load achievements|Overkill;Over-Overkill;Mob Kabob}} | ||
}} | }} | ||
== Advancements == | == Advancements == | ||
{{ | {{MC/Load advancements|Not Today, Thank You;Oh Shiny;Monster Hunter;Monsters Hunted;It Spreads}} | ||
Advancements that apply to all mobs: | Advancements that apply to all mobs: | ||
{{collapse|content={{ | {{collapse|content={{MC/Load advancements|Take Aim;Arbalistic;A Throwaway Joke;Adventure;Over-Overkill;Mob Kabob}} | ||
}} | }} | ||
== Videos == | == Videos == | ||
{{ | {{MC/Yt|Vwik8XPyb5g}} | ||
== History == | == History == | ||
{{ | {{MC/See also|Bartering/Outdated loot tables}} | ||
{{More images| | {{MC/More images| | ||
* Bedrock 1.16.0.63 - "Gold ingots now render properly in piglin's hands at all times." (Before and After) | * Bedrock 1.16.0.63 - "Gold ingots now render properly in piglin's hands at all times." (Before and After) | ||
|section=true | |section=true | ||
| Line 397: | Line 397: | ||
|{{HistoryLine||December 14, 2019|link={{tweet|henrikkniberg|1205479790985265153}}|An image of a hoglin and piglins is released.}} | |{{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 thrown by the player and throwing back a placeholder [[Minecraft:diamond]].}} | |{{HistoryLine||January 14, 2020|link={{tweet|henrikkniberg|1217048924831260672}}|A video shows piglins picking up gold thrown by the player and throwing back a placeholder [[Minecraft: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''.}} | |{{MC/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''.}} | ||
}} | }} | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java alpha}} | |{{MC/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>}} | |{{MC/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}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.6.1|dev=13w24a|The pigman texture has been removed.}} | |{{MC/HistoryLine||1.6.1|dev=13w24a|The pigman texture has been removed.}} | ||
|{{HistoryLine||1.16|dev=20w07a|[[File:Piglin.png|32px]] [[File:Baby Piglin JE1.png|22px]] Added piglins and baby piglins. | |{{HistoryLine||1.16|dev=20w07a|[[File:Piglin.png|32px]] [[File:Baby Piglin JE1.png|22px]] Added piglins and baby piglins. | ||
|[[File:Piglin with Crossbow.png|32px]] [[File:Piglin left handed with Crossbow.png|35px]] Piglins can hold [[Minecraft:crossbow]]s. | |[[File:Piglin with Crossbow.png|32px]] [[File:Piglin left handed with Crossbow.png|35px]] Piglins can hold [[Minecraft:crossbow]]s. | ||
|Piglins can be converted into zombified piglins in the [[Minecraft:Overworld]]. | |Piglins can be converted into zombified piglins in the [[Minecraft: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, 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>}} | |[[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, 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 {{ | |{{HistoryLine|||dev=20w09a|Piglins now have an {{MC/Cd|IsImmuneToZombification}} data value that, when set, prevents them from zombifying in the Overworld. | ||
|The loot table of [[Minecraft:item]]s that can be bartered from piglins has been modified. | |The loot table of [[Minecraft:item]]s that can be bartered from piglins has been modified. | ||
|[[File:Baby Piglin Riding a Baby Hoglin.png|32px]] Baby piglins can now ride on the back of baby hoglins.}} | |[[File:Baby Piglin Riding a Baby Hoglin.png|32px]] Baby piglins can now ride on the back of baby hoglins.}} | ||
|{{HistoryLine|||dev=20w10a|The loot table of [[Minecraft:item]]s 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.<ref>{{bug|MC-173858|||Fixed}}</ref> | |{{HistoryLine|||dev=20w10a|The loot table of [[Minecraft:item]]s 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.<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>}} | |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 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. | |{{MC/HistoryLine|||dev=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.}} | |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.}} | |{{MC/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 zoglins, the same way they avoid zombified piglins. | |{{MC/HistoryLine|||dev=20w14a|Piglins now avoid zoglins, the same way they avoid zombified piglins. | ||
|A baby piglin no longer holds a [[Minecraft:weapon]] when it turns into a zombie. | |A baby piglin no longer holds a [[Minecraft: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.}} | |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 remnants.}} | |{{MC/HistoryLine|||dev=20w16a|Piglins now spawn in bastion remnants.}} | ||
|{{HistoryLine|||dev=20w19a|Piglins now become zombified piglins when in [[Minecraft:the End]].}} | |{{MC/HistoryLine|||dev=20w19a|Piglins now become zombified piglins when in [[Minecraft:the End]].}} | ||
|{{HistoryLine|||dev=20w21a|Piglins no longer walk around when admiring gold. | |{{MC/HistoryLine|||dev=20w21a|Piglins no longer walk around when admiring gold. | ||
|If a piglin is hurt while admiring an gold ingot, the ingot now disappears.}} | |If a piglin is hurt while admiring an gold ingot, the ingot now disappears.}} | ||
|{{HistoryLine|||dev=20w22a|[[File:Piglin celebrate hunt Revision 1.gif|40px]] Piglins now have a 10% chance to dance after defeating an adult hoglin. | |{{MC/HistoryLine|||dev=20w22a|[[File:Piglin celebrate hunt Revision 1.gif|40px]] Piglins now have a 10% chance to dance after defeating an adult hoglin. | ||
|[[File:Piglin Attacking with melee weapon.png|32px]] Piglins now have the vindicator attacking animation when melee attacking.}} | |[[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]]. | |{{MC/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]] | |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.}} | |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 enchanted gear.}} | |{{MC/HistoryLine|||dev=pre6|Adult piglins now may spawn with enchanted gear.}} | ||
|{{HistoryLine||1.16.2|dev=pre1|Piglins now become angry with players who open or destroy a minecart with chest or a minecart with hopper.}} | |{{MC/HistoryLine||1.16.2|dev=pre1|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.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 [[Minecraft:leather]].<ref>{{bug|MC-197179|||Fixed}}</ref>}} | |{{HistoryLine||1.17|dev=20w45a|Baby piglins can no longer pick up [[Minecraft:leather]].<ref>{{bug|MC-197179|||Fixed}}</ref>}} | ||
|{{HistoryLine|||dev=21w08a|Piglins now become angry with players who destroy deepslate gold ore.}} | |{{MC/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.}} | |{{MC/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. | |{{MC/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.}} | |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.}} | |{{MC/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 heads when killed by a charged creeper.|Piglins' detection range is now reduced when the player wears a piglin head.}} | |{{MC/HistoryLine||1.19.3|exp=Update 1.20|dev=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.}} | ||
|{{HistoryLine||1.19.4|dev=23w06a|Minecart with hopper no longer aggravates piglins when opened.<ref>{{bug|MC-198874|||Fixed}}</ref>}} | |{{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|Piglins now prefer to pick [[Minecraft:crossbow]]s from the ground as opposed to other items.}} | |{{MC/HistoryLine||1.21.4|dev=24w45a|Piglins now prefer to pick [[Minecraft:crossbow]]s from the ground as opposed to other items.}} | ||
|{{HistoryLine||1.21.6|dev=25w18a|Dried ghasts have been added to the items that can be bartered from piglins.}} | |{{MC/HistoryLine||1.21.6|dev=25w18a|Dried ghasts have been added to the items that can be bartered from piglins.}} | ||
|{{HistoryLine||1.21.11|dev=25w41a|Piglins can now spawn with the new golden spears.|Piglins now consider golden spears as one of the items they like.}} | |{{MC/HistoryLine||1.21.11|dev=25w41a|Piglins can now spawn with the new golden spears.|Piglins now consider golden spears as one of the items they like.}} | ||
|{{HistoryLine|||dev=25w42a|Piglins now consider golden nautilus armor as one of the items they like.}} | |{{MC/HistoryLine|||dev=25w42a|Piglins now consider golden nautilus armor as one of the items they like.}} | ||
|{{HistoryLine|||dev=pre1|Piglins now consider golden spears as one of their preferred weapons.}} | |{{MC/HistoryLine|||dev=pre1|Piglins now consider golden spears as one of their preferred weapons.}} | ||
|{{HistoryLine||26.1|dev=snap7|[[File:Baby Piglin JE2 BE2.png|28px]] The model and texture of baby piglins have been changed.}} | |{{MC/HistoryLine||26.1|dev=snap7|[[File:Baby Piglin JE2 BE2.png|28px]] The model and texture of baby piglins have been changed.}} | ||
|{{HistoryLine|||dev=snap8|Adjusted the hitboxes of the baby versions of piglins to fit in 1 block high or 0.5 block wide spaces.}} | |{{MC/HistoryLine|||dev=snap8|Adjusted the hitboxes of the baby versions of piglins to fit in 1 block high or 0.5 block wide spaces.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.16.0|dev=beta 1.16.0.51|[[File:Piglin BE.png|32px]] [[File:Baby Piglin JE1.png|22px]] Added piglins and baby piglins. | |{{MC/HistoryLine||1.16.0|dev=beta 1.16.0.51|[[File:Piglin BE.png|32px]] [[File:Baby Piglin JE1.png|22px]] Added piglins and baby piglins. | ||
|[[File:Piglin with Crossbow BE.png|32px]] Piglins can hold [[Minecraft:crossbow]]s. | |[[File:Piglin with Crossbow BE.png|32px]] Piglins can hold [[Minecraft:crossbow]]s. | ||
|[[File:Hoglin Rider BE1.png|32px]] Baby piglins can ride on the back of baby hoglins. | |[[File:Hoglin Rider BE1.png|32px]] Baby piglins can ride on the back of baby hoglins. | ||
| Line 462: | Line 462: | ||
|Piglins follow a player who holds a gold ingot. | |Piglins follow a player who holds a gold ingot. | ||
|[[File:Piglin celebrate hunt Revision 1.gif|40px]] Piglins dance after they finish hoglin hunting.}} | |[[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 sounds. | |{{MC/HistoryLine|||dev=beta 1.16.0.57|Piglins now have their own sounds. | ||
|Piglin bartering has been properly added. | |Piglin bartering has been properly added. | ||
|Piglins can no longer drop [[Minecraft:arrow]]s when killed. | |Piglins can no longer drop [[Minecraft:arrow]]s when killed. | ||
| Line 468: | Line 468: | ||
|Piglins now spawn in bastion remnants. | |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.}} | |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 zoglins, the same way they avoid zombified piglins. | |{{MC/HistoryLine|||dev=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 spawn in the nether wastes. | ||
|Piglins now properly sit in [[Minecraft:boat]]s and [[Minecraft:minecart]]s. | |Piglins now properly sit in [[Minecraft:boat]]s and [[Minecraft:minecart]]s. | ||
|Piglins no longer despawn in Peaceful mode.}} | |Piglins no longer despawn in Peaceful mode.}} | ||
|{{HistoryLine|||dev=beta 1.16.0.63|Piglins now avoid soul campfires. | |{{MC/HistoryLine|||dev=beta 1.16.0.63|Piglins now avoid soul campfires. | ||
|Gold ingots now render properly in the hands of piglins at all times.}} | |Gold ingots 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 [[Minecraft:weapon]]s or [[Minecraft:armor]]. | |{{MC/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 [[Minecraft:weapon]]s or [[Minecraft: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. | |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 [[Minecraft:Java Edition]]'s from [[File:Piglin targeting BE1.png|32px]] to [[File:Piglin targeting BE2.png|32px]] | |Piglins now have the vindicator attacking animation when melee attacking, similar to [[Minecraft: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.}} | |Piglins get angry when players attack Piglin brutes.}} | ||
|{{HistoryLine|||dev=beta 1.16.20.53|Piglins can now spawn with enchanted weapons again.}} | |{{MC/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.}} | |{{MC/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.}} | |{{MC/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.}} | |{{MC/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 heads when killed by a charged creeper.|Piglins' detection range is now reduced when the player wears a piglin head.}} | |{{MC/HistoryLine||1.19.60|exp=Next Major Update|dev=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.}} | ||
|{{HistoryLine||1.21.40|dev=Preview 1.21.40.20|Piglins are no longer attracted to powered rails to match {{JE}}.<ref>{{bug|MCPE-91187||Piglins are attracted to powered rails|Fixed}}</ref>}} | |{{HistoryLine||1.21.40|dev=Preview 1.21.40.20|Piglins are no longer attracted to powered rails to match {{MC/JE}}.<ref>{{bug|MCPE-91187||Piglins are attracted to powered rails|Fixed}}</ref>}} | ||
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Golden swords dropped by piglins now have randomized durability to match {{JE}}.<ref>{{bug|MCPE-75292||Gold swords dropped by piglins and zombified piglins all have the same durability|Fixed}}</ref>}} | |{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Golden swords dropped by piglins now have randomized durability to match {{MC/JE}}.<ref>{{bug|MCPE-75292||Gold swords dropped by piglins and zombified piglins all have the same durability|Fixed}}</ref>}} | ||
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.21|Dried ghasts have been added to the items that can be bartered from piglins.}} | |{{MC/HistoryLine||1.21.90|dev=Preview 1.21.90.21|Dried ghasts have been added to the items that can be bartered from piglins.}} | ||
|{{HistoryLine||1.21.130|dev=Preview 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.}} | |{{MC/HistoryLine||1.21.130|dev=Preview 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.}} | ||
|{{HistoryLine|||dev=Preview 1.21.130.22|Piglins can now use the spear's charge attack.}} | |{{MC/HistoryLine|||dev=Preview 1.21.130.22|Piglins can now use the spear's charge attack.}} | ||
|{{HistoryLine||26.0|dev=Preview 26.0.27|Piglins are now part of the {{ | |{{HistoryLine||26.0|dev=Preview 26.0.27|Piglins are now part of the {{MC/Cd|mob}} [[Minecraft:family]].|Baby piglins are now part of a new family, {{MC/Cd|baby_piglin}}. Pre-existing baby piglins are not affected by this change.}} | ||
|{{HistoryLine||26.10|dev=Preview 26.10.23|[[File:Baby Piglin JE2 BE2.png|28px]] The model and texture of baby piglins have been changed.}} | |{{MC/HistoryLine||26.10|dev=Preview 26.10.23|[[File:Baby Piglin JE2 BE2.png|28px]] The model and texture of baby piglins have been changed.}} | ||
|{{HistoryLine|bedrock upcoming}} | |{{MC/HistoryLine|bedrock upcoming}} | ||
|{{HistoryLine||26.20|dev=Preview 26.20.22|The hitboxes of baby piglins have been changed, to closely match {{JE}}.<ref>{{bug|MCPE-236077}}</ref>}} | |{{HistoryLine||26.20|dev=Preview 26.20.22|The hitboxes of baby piglins have been changed, to closely match {{MC/JE}}.<ref>{{bug|MCPE-236077}}</ref>}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{Issue list}} | {{MC/Issue list}} | ||
== Trivia == | == Trivia == | ||
| Line 501: | Line 501: | ||
* 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> | * 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> | ||
* The page for the Nether Update mentions that piglins have mined all of the netherite out leaving only the [[Minecraft:Ancient Debris|ancient debris]] behind.<ref>{{Citation|url=https://www.minecraft.net/en-us/updates/nether/|title=Minecraft Nether Update|website=Minecraft|archive-url=|archive=1|archive-time=1}}</ref> | * The page for the Nether Update mentions that piglins have mined all of the netherite out leaving only the [[Minecraft:Ancient Debris|ancient debris]] behind.<ref>{{Citation|url=https://www.minecraft.net/en-us/updates/nether/|title=Minecraft Nether Update|website=Minecraft|archive-url=|archive=1|archive-time=1}}</ref> | ||
* 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.<ref>{{YouTube link|2paqmBrRuD0|06 Space Vadå prototyp|Agila Sverige|June 21, 2022|t=398s}}</ref> | * 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.<ref>{{MC/YouTube link|2paqmBrRuD0|06 Space Vadå prototyp|Agila Sverige|June 21, 2022|t=398s}}</ref> | ||
== Gallery == | == Gallery == | ||
=== Renders === | === Renders === | ||
{{ | {{MC/MoreImages|A gif render of a piglin breaking its crossbow; a render of a piglin holding a golden spear. Update jockey textures.|section=<img src="https://minecraft.wiki/images/thumb/Piglin_JE1.png/150px-Piglin_JE1.png?a498e" alt="Piglin.png: Infobox image for Piglin the entity in Minecraft"/>}} | ||
<gallery> | <gallery> | ||
Piglin Attacking with melee weapon.png|A piglin targeting in {{JE}}. | Piglin Attacking with melee weapon.png|A piglin targeting in {{MC/JE}}. | ||
Piglin targeting BE.png|A piglin targeting in {{BE}}. | Piglin targeting BE.png|A piglin targeting in {{MC/BE}}. | ||
Piglin with Crossbow targeting JE.png|Piglin targeting in {{JE}}. | Piglin with Crossbow targeting JE.png|Piglin targeting in {{MC/JE}}. | ||
Piglin with Crossbow targeting BE.png|Piglin targeting in {{BE}}. | Piglin with Crossbow targeting BE.png|Piglin targeting in {{MC/BE}}. | ||
Sitting Piglin.png|The position of a sitting piglin. | Sitting Piglin.png|The position of a sitting piglin. | ||
Piglin Admiring Item.png|A piglin looking at a gold ingot. | Piglin Admiring Item.png|A piglin looking at a gold ingot. | ||
| Line 571: | Line 571: | ||
File:Group chat.jpg|A piglin in a group chat. | File:Group chat.jpg|A piglin in a group chat. | ||
File:Piglin working as a DJ.jpeg|A piglin DJ performing [[Minecraft:Music Disc Pigstep|pigstep]] | File:Piglin working as a DJ.jpeg|A piglin DJ performing [[Minecraft:Music Disc Pigstep|pigstep]] | ||
File:MCLReturnofPiglinsCover.jpg|Several piglins as they appear on the cover of {{MCL|Return of the Piglins}} | File:MCLReturnofPiglinsCover.jpg|Several piglins as they appear on the cover of {{MC/MCL|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: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 from Minecraft Legends Live Event | File:Legends Piglin Retreat.gif|An animation of a piglin retreating from Minecraft Legends Live Event | ||
| Line 578: | Line 578: | ||
File:Piglin Natural.png|Natural texture pack | File:Piglin Natural.png|Natural texture pack | ||
File:Piglin TP.png|Plastic texture pack | File:Piglin TP.png|Plastic texture pack | ||
File:AMCM Piglins in the Nether.png|{{ | File:AMCM Piglins in the Nether.png|{{MC/Amcm|Piglins}} in the [[Minecraft:The Nether|Nether]] looking at {{MC/Amcm|Steve}} in {{MC/Amcm}} | ||
File:Piglin Figure.jpg|Official Piglin action figure | File:Piglin Figure.jpg|Official Piglin action figure | ||
File:Nylium Figures.jpg|A group of several figures, including one of Steve | File:Nylium Figures.jpg|A group of several figures, including one of Steve | ||
File:LEGO Piglin.png|Lego Minecraft Piglin | File:LEGO Piglin.png|Lego Minecraft Piglin | ||
File:Lego Piglin keychain.webp|Keychain of a ''LEGO'' Piglin. | File:Lego Piglin keychain.webp|Keychain of a ''LEGO'' Piglin. | ||
File:LEGO AMCM Piglin.png|A piglin {{ | File:LEGO AMCM Piglin.png|A piglin {{MC/Amcm|LEGO}} minifigure from {{MC/Amcm}}, not based off the film design | ||
File:Piglin Solitaire.jpg | File:Piglin Solitaire.jpg | ||
</gallery> | </gallery> | ||
== See also == | == See also == | ||
*{{ | *{{MC/Entitylink|Piglin Brute}} | ||
*{{ | *{{MC/Entitylink|Zombified Piglin}} | ||
*{{ | *{{MC/Itemlink|id=gold-ingot|Bartering}} | ||
*{{ | *{{MC/Entitylink|Pigman}} | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== External links == | == External links == | ||
| Line 600: | Line 600: | ||
== Navigation == | == Navigation == | ||
{{Navbox entities|mobs}} | {{MC/Navbox entities|mobs}} | ||
[[Category:Neutral mobs]] | [[Category:Neutral mobs]] | ||
Latest revision as of 20:44, 9 April 2026
Template:Hatnote Template:Infobox entity A piglin is a neutral mob found in Minecraft: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 Minecraft:items. It wields either a golden sword, golden spear, or Minecraft: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 11Template:Only or 7Template:Only and below. They can spawn on most blocks other than nether wart blocks and magma blocks.
Piglins spawn within bastion remnants upon generation.
Each piglin has a 20%Template:Only or 5%Template:Only chance to spawn as a baby.
in Template:Editions, piglins do not naturally spawn in the Peaceful difficulty except during Minecraft:world generation as part of bastions. However, they are passive.
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 {{#vardefine: control | right click on mouse or left trigger on gamepad }}using a piglin spawn egg on an adult piglin.
Drops
On death
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 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:
- REDIRECT Template:ItemLink (45%, or Template:Frac)
- REDIRECT Template:ItemLink (50%, or Template:Frac)
- REDIRECT Template:ItemLink (5%, or Template:Frac)
Armor
Adults sometimes <more information needed></more information needed> spawn with 1-4 normal or enchanted pieces of armor, which may be:
- REDIRECT Template:ItemLink
- REDIRECT Template:ItemLink
- REDIRECT Template:ItemLink
- REDIRECT Template:ItemLink
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. See Template:Slink.
in Template:Editions, a picked-up item always drops with the same durability as when picked up.
in Template:Editions, armor <more information needed></more information needed> 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
- REDIRECT Template:Experience
Template:Redr, which is not affected by armor, if killed by a player or tamed Minecraft:wolf. Baby piglins drop
- REDIRECT Template:Experience
Template:RedrTemplate:Only<ref>Template:Bug</ref> or
- REDIRECT Template:Experience
Template:RedrTemplate:Only<ref>Template:Bug</ref>.
Behavior
Piglins snort enviously while watching players holding a gold-related item.
Like Minecraft:villagers, piglins can open and close wooden and copper doors, but cannot open fence gates, Minecraft:trapdoors, or iron doors. They also cannot climb Minecraft:ladders.
Piglins cannot swim and can drown if submerged.<ref>Template:Bug</ref> They are not naturally immune to Minecraft:fire or Minecraft:lava.<ref>Template:Bug</ref>
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 and zoglins. Baby piglins additionally retreat from wither skeletons and Minecraft:withers.
Crossbow piglins do not reload their crossbows when spawned, unlike pillagers. They reload only when provoked.
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. However, they are unable to pick up Minecraft: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">Template:Bug</ref> 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 Minecraft: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 of whether 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 Minecraft:chest, trapped chest, copper chest, ender chest,<ref>Template:Bug</ref> shulker box,<ref>Template:Bug</ref> Minecraft: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
- Short range: When a piglin has been aggravated by a player not wearing gold Minecraft: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 Minecraft:armor.
- The piglin can de-aggravate when the player puts on gold Minecraft: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.
- A piglin already under light aggravation does not re-aggravate to medium aggravation. This means that if a piglin knows a player broke a golden block near them after already going after them due to them not wearing gold Minecraft:armor, the player can de-aggravate that piglin by putting on gold armor or losing the line of sight even though the player broke the golden block.
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 Minecraft: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 Template:Editions, a player under the Minecraft: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.<ref>Template:Bug</ref>
Opening or breaking a Minecraft:hopper does not provoke piglins.<ref>Template:Bug</ref> Piglins do not react to the opening or breaking of other containers. Breaking a Minecraft:bell does not provoke them either, even though piglins admire them as gold.<ref>Template:Bug</ref>
When provoked, piglins remain hostile for 30 seconds.
Unlike other neutral mobs, piglins don't count towards the
- REDIRECT Template:Code
Template:Redr tag.<ref>Template:Bug</ref><ref>Template:Bug</ref><ref>Template:Bug</ref>
Attacking
Piglins have different attacking behavior based on the weapon they are wielding.
Using swords
Piglins wielding Minecraft:swords and most other Minecraft: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 Minecraft:crossbow, piglins shoot arrows every 2 seconds. in Template:Editions, they walk backward (stopping if at the edge of a drop) as soon as the target is close. in Template:Editions, their crossbows can break if it runs out of durability,<ref>Template:Bug</ref> making the piglins use their fists, while in Template:Editions their crossbows never break.<ref>Template:Bug</ref> Unlike mobs armed with Minecraft:bows, they do not strafe from left to right while shooting. Also, unlike pillagers, piglins cannot fire firework rockets or special kinds of Minecraft:arrows, since they cannot hold them in their off-hand if spawned so.<ref name="MC-172600"/>
Using spears
Piglins wielding spears use the spear's charge attack while moving towards 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 walk away to increase the distance between them and their target before turning around to begin another charge. Piglins with spears are especially dangerous because they run towards their target instead of walking, increasing the damage of their charge attack.
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 Minecraft: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 Minecraft:head.
Piglins also retaliate to being rammed by a goat.Template:Only<ref>Template:Bug</ref>
Hunting
Piglins sometimes attack hoglins, causing other piglins and piglin brutesTemplate: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).{{
#vardefine: verifyedition |
}}<verify for {{#var:verifyedition}}></verify for {{#var:verifyedition}}>{{
#vardefine: verifyedition |
}} Once that piglin attacks the hoglin, all other piglins and piglin brutesTemplate: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.{{
#vardefine: verifyedition |
}}<verify for {{#var:verifyedition}}></verify for {{#var:verifyedition}}>{{
#vardefine: verifyedition |
}} 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.Template: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. 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
{{#vardefine:params|0 }}Template:Hatnote 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 sixTemplate:Only or eightTemplate:Only<ref>Template:Bug</ref> seconds, then drops 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 Minecraft:dispenser or Minecraft:dropper. in Template:Editions, 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
{{#vardefine:params|0 }}Template:Hatnote Piglins can pick up any Minecraft:items they come across, except for Minecraft:leather, and prefer gold-related items, which they actively seek out.
Each piglin has eight hidden Minecraft:inventory slots in which it can stack Minecraft: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 preferrable, is equipped instantly. Piglins do not pick up any items when the
- REDIRECT Template:Command
Template:Redr 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
- REDIRECT Template:Code
Template:Redr 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/Minecraft: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: Template:Columns-list
Baby piglins attempt to pick up every itemTemplate: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
When in the Minecraft:Overworld or Minecraft: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 secondsTemplate:Only<ref>This does not happen in Bedrock Edition due to Template:Bug.</ref>; 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
- REDIRECT Template:Code
Template:Redr tag is set to
- REDIRECT Template:Code
Template:Redr. Piglins with their
- REDIRECT Template:Code
Template:Redr tag set to
- REDIRECT Template:Code
Template:Redr 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
Data values
ID
Template:!((Java EditionTemplate:))!: Template:ID table Template:!((Bedrock EditionTemplate:))!: Template:ID table
Entity data
Piglins have entity data associated with them that contains various properties.
- REDIRECT Template:Edition
Template:Rcat: {{#vardefine:params|0 }}Template:Hatnote
<section begin="entity data"/>
- Template:Nbt/sprite Entity data
- Template:Nbt inherit
- Template:Nbt inherit
- Template:Nbt/sprite CannotHunt:
1or0(true/false) – iftrue, the piglin does not attack hoglins. Set to true for piglins spawned as a part of bastion remnants during world generation. - Template:Nbt/sprite Inventory: Each compound tag in this list is an item in the piglin's inventory. It can hold a maximum of 8 items.
- Template:Nbt/sprite An item in the inventory, excluding the
Slottag.
- Template:Nbt/sprite An item in the inventory, excluding the
- Template:Nbt/sprite IsBaby:
1or0(true/false) –trueif the piglin is a baby. May not exist. - Template:Nbt/sprite IsImmuneToZombification:
1or0(true/false) – iftrue, the piglin does not transform to a zombified piglin when in the Minecraft:Overworld. - Template:Nbt/sprite TimeInOverworld: The number of Minecraft:ticks that the piglin has existed in the Overworld; the piglin converts to a zombified piglin when this is greater than 300.
<section end="entity data"/>
- REDIRECT Template:Edition
Achievements
Script error: No such module "Achievement".
Achievements that apply to all mobs: Template:Collapse
Advancements
Script error: No such module "Advancement".
Advancements that apply to all mobs: Template:Collapse
Videos
- REDIRECT Template:YouTube
History
{{#vardefine:params|0 }}Template:Hatnote Template:Message box
Concept
Announcement
Java Edition
Bedrock Edition
Issues
Script error: No such module "Issue list".
Trivia
- In Minecraft:Bedrock Edition, baby piglins make angry noises when any piglin gets angry.<ref>Template:Bug</ref>
- Piglin sounds were made by blending sounds of a Swedish domestic pig known as a "Linderödssvin".<ref>Template:Tweet</ref>
- The page for the Nether Update mentions that piglins have mined all of the netherite out leaving only the ancient debris behind.<ref>Template:Citation</ref>
- 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.<ref>youtube-2paqmBrRuD0 | 2paqmBrRuD0 }}&t=398s "06 Space Vadå prototyp" – Agila Sverige on YouTube, June 21, 2022</ref>
Gallery
Renders
- REDIRECT Template:More images
-
A piglin targeting in Java Edition.
-
A piglin targeting in Bedrock Edition.
-
Piglin targeting in Java Edition.
-
Piglin targeting in Bedrock Edition.
-
The position of a sitting piglin.
-
A piglin looking at a gold ingot.
-
The position of a sitting baby piglin.
-
A baby piglin riding a baby hoglin.
-
Multiple baby piglins climbing a baby hoglin.
-
A piglin celebrating a victorious hunt.
Armed
-
A full golden armor piglin.
-
A piglin loading up a Minecraft:crossbow.
Screenshots
-
Piglins attacking wither skeletons.
-
A render error causing the enchantment glint to cover the snout, fixed in 20w18a.
-
A piglin chasing a hoglin.
-
An example of a baby piglin holding a lava bucket.
-
An example of a baby piglin riding a baby hoglin.
-
Another example, this time showing that up to 3 baby piglins can ride a single baby hoglin.
-
A fully armored piglin examining a clock.
-
All of the pig-like mobs in the Nether Update.
-
A piglin alongside a shivering strider.
-
A piglin sneaking up on a villager.
-
A piglin in the Minecraft:Overworld, next to a zombified piglin.
Mojang images
-
Piglins.
-
A preview showing two piglins fighting a hoglin in a crimson forest.
-
A preview of a piglin next to a hoglin in the crimson forest.
-
Piglins handling gold.
-
Piglin in a crimson forest.
-
A piglin in the Nether.
-
Piglins using their ears to convey emotion.
Textures
-
Piglin texture file
-
Baby piglin texture file
-
Pigman texture file
-
A variant of the original pigman texture, created by Xaphobia, which was also planned to be added
In other media
-
Piglins in promotional artwork for the Nether Update
-
Official artwork of the piglin standing next to a fire
-
Animated artwork GIF of a piglin standing next to a fire
-
Official artwork of a piglin
-
Official artwork of two piglins
-
Official artwork of one piglin
-
Official artwork of four piglins
-
Piglin Spirit from Super Smash Bros. Ultimate
-
Two piglins fighting Efe in artwork for the 15th anniversary of Minecraft
-
A piglin in a group chat.
-
A piglin DJ performing pigstep
-
Several piglins as they appear on the cover of Return of the Piglins
-
Artwork of two piglins and a piglin brute, made to promote the Minecraft Legends Live Event
-
An animation of a piglin retreating from Minecraft Legends Live Event
-
Animation of several piglin hunters easily killing a hoglin
-
Natural texture pack
-
Plastic texture pack
-
- REDIRECT Template:AMCM
Template:Redr in the Nether looking at
- REDIRECT Template:AMCM
- REDIRECT Template:AMCM
-
Official Piglin action figure
-
A group of several figures, including one of Steve
-
Lego Minecraft Piglin
-
Keychain of a LEGO Piglin.
-
A piglin
- REDIRECT Template:AMCM
Template:Redr minifigure from
- REDIRECT Template:AMCM
See also
- REDIRECT Template:EntityLink
- REDIRECT Template:EntityLink
- REDIRECT Template:ItemLink
- REDIRECT Template:EntityLink
References
<references group="">
</references>
External links
de:Piglin es:Piglin fr:Piglin it:Piglin ja:ピグリン ko:피글린 lzh:豕靈 nl:Piglins pl:Piglin pt:Piglin ru:Пиглин uk:Піґлін zh:猪灵