{{about|the Nether mob in ''Minecraft''|the zombified variant|Zoglin|the ''Minecraft Dungeons'' mob|Minecraft Dungeons:Hoglin|other pig-like mobs|Pig (disambiguation)}}
{{Infobox entity
| group = Hoglin
| 1-1 = Hoglin.png
| 1-1caption = {{JE}}
| 1-2 = Hoglin BE.png
| 1-2caption = {{BE}}
| group2 = Baby
| 2-1 = Baby Hoglin.png
| 2-1caption = {{JE}}
| 2-2 = Baby Hoglin BE3.png
| 2-2caption = {{BE}}
| invimage = Hoglin Spawn Egg
| health = {{health|40}}
| behavior = Hostile
| mobtype = [[Animal]], [[Monster]]
| damage = '''Adult:'''<br>
Easy:<br> {{hp|2.5}} to {{hp|5}}<br>
Normal:<br> {{hp|3}} to {{hp|8}}<br>
Hard:<br> {{hp|4.5}} to {{hp|12}}<br>
'''Baby:'''<br>Easy and Normal: {{hp|0.5}}<br>Hard: {{hp|0.75}}
| size = '''Adult:'''<br>Height: 1.4 blocks<br>Width: 1.3965 blocks<br>
'''Baby:'''<br>Height: 0.7 blocks<br>Width: 0.6982 blocks<br>
| speed = 0.3
| knockbackresistance = 0.6
| spawn = {{BiomeLink|Crimson Forest}}
{{EnvLink|Bastion remnant}}
| usableitems = {{drop|Block|Crimson Fungus}}
{{drop|Item|Lead}}
}}
A '''hoglin''' is a breedable [[hostile mob]] found in [[the Nether]], and a source of [[porkchop]]s and [[leather]]. Hoglins are repelled by [[warped fungi]] that is placed in the world as well as active [[nether portal]]s and [[respawn anchor]]s. It attacks by thrusting its tusks upward, which can also launch its target a short distance into the air.

'''Baby hoglins''' behave similarly, but have a much weaker attack (the weakest attack in the game) with normal knockback, and flee when hit.

== Spawning ==
Hoglins are found in herds of 3–4 in [[crimson forest]]s, respawning over time. They can spawn at any [[light level]] and on most solid blocks other than [[nether wart block]]s and [[shroomlight]]s. 

Hoglins spawn in certain types of [[bastion remnant]]s upon structure generation. They spawn frequently in the hoglin stable variant (specifically the large and small stables in the "lower" area, but never in the "upper" area with ramparts), and sometimes in the main "bridge entrance" at the upper half of the rampart in the bridge variant. Similar to the [[piglin]]s and [[piglin brute]]s there, these hoglins never despawn.

20% of hoglins spawn as babies.

Hoglins spawn on [[Peaceful]] difficulty, but are passive to players.

== Drops ==
=== On death ===
{{DropsTableHead}}
{{DropsLine|name=Raw Porkchop|quantity=2-4|lootingquantity=1|namenote=Dropped as [[cooked porkchop]] if on fire when killed.}}
{{DropsLine|name=Leather|quantity=0-1|lootingquantity=1}}
{{DropsTableFoot}}
* {{xp|5}}{{only|je|short=1}} or {{xp|1|3}}{{only|be|short=1}} if killed by a [[player]] or tamed [[wolf]].

Baby hoglins drop only experience when killed, at the same rate as adult hoglins. They are also the only baby [[animal]]s that drop experience.

== Behavior ==
Hoglins avoid being within 7 blocks of [[warped fungi]] (including in a [[flower pot]]), [[nether portal]]s and [[respawn anchor]]s. They naturally sink in [[water]] and eventually drown.<ref>{{bug|MC-172102|resolution=WAI}}</ref> They also sink in [[lava]] and are vulnerable to [[fire]] damage.<ref>{{bug|MC-172087|resolution=WAI}}</ref> Hoglins can be led with a [[lead]] even though they are hostile.

=== Hostility ===
Hoglins attack any [[player]] within 16 [[block]]s with a reach of 1.9 blocks. An adult knocks its target upward. Players can still be flung even if they block with a [[shield]]. Hoglins do not attack a player standing near [[Tags#blocks hoglin repellents|a block that repels them]], but run away from the block unless they have already chosen to attack. Hoglins are 60% resistant to knockback. Unlike other hostile mobs, they do not prevent a player from [[sleeping]].

Similar to [[piglin]]s and [[zombified piglin]]s, a player or mob attacking a hoglin provokes all nearby hoglins. Attacking a baby hoglin does not trigger this behavior.

If a piglin attacks a hoglin, all the hoglins in the area retaliate. Hoglins also flee if outnumbered and make retreating sounds. If the piglins are outnumbered by hoglins, they flee and make retreating sounds.

[[Piglin|Piglins]] do not hunt hoglins that spawn upon generation of [[Bastion Remnant|bastion remnants]].

Like piglins, hoglins retaliate when attacked by a [[goat]].<ref>{{bug|MC-227625}}</ref>

=== Baby hoglins ===
Baby hoglins also attack the player, dealing much less [[damage]] and normal knockback. If the player attacks a baby hoglin, it temporarily flees.

Baby [[piglin]]s run near and ride baby hoglins. If there are more baby piglins than baby hoglins, the baby piglins occasionally jump on other baby piglins already riding a baby hoglin, with a maximum of 3 stacked on a single baby hoglin.

=== Zombification ===
[[File:Hoglin being Zombified.gif|thumb|right|upright|A hoglin turning into a [[zoglin]]. Notice the hair is flattened down.]]
If a hoglin spawns in or moves to the [[Overworld]] or [[the End]], it shakes and then transforms into a [[zoglin]] after 15 seconds. The newly-created zoglin gets [[Nausea]] I for 10 seconds. This Nausea effect is only decorative and has no effect on the zoglin's behavior.

=== Breeding ===
{{main|Breeding}}

Hoglins can be bred with [[crimson fungi]]. It takes 5 minutes before the parents can be bred again, and it takes 20 minutes for baby hoglins to mature. Baby hoglins stay near their parents unless they see a player or get attacked, in which case they attack or run away. Feeding a crimson fungus to a baby hoglin reduces the remaining time for it to mature by 10%.

Hoglins cannot be bred when they are running away from warped fungi, respawn anchors or nether portals.

Feeding crimson fungi to a hoglin prevents it from [[despawning]], no matter the breeding is successful or not. The baby hoglin produced by breeding does not despawn either.

Like the [[killer bunny]],{{only|java}} the hoglin is a hostile [[mob]] that can be [[bred]].

== Sounds ==
{{/Sounds}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|displayname=Hoglin
|spritetype=entity
|nameid=hoglin
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Hoglin
|spritetype=entity
|nameid=hoglin
|id=124
|foot=1}}

=== Entity data ===
Hoglins 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|Monster Hunter;Overkill;It Spreads;Over-Overkill}}

== Advancements==
{{load advancements|Adventure;Monster Hunter;Monsters Hunted;The Parrots and the Bats;Two by Two;It Spreads;Take Aim;Arbalistic;A Throwaway Joke;Over-Overkill}}

== History ==
{{HistoryTable
|{{HistoryLine||September 28, 2019|link={{Mcnet|everything-we-announced-minecon-live-2019}}|[[File:Hoglin (pre-release).png|32px]] [[File:Hoglin (pre-release 2).png|32px]] Piglin beasts are announced at [[MINECON Live 2019]]. They have a noticably slanted body section and two versions were shown with differing eye spacings.
|They also drop [[raw beef]] in preview.}}
|{{HistoryLine||October 19, 2019|link={{Mcnet|meet-hoglin}}|[[File:Hoglin (pre-release 4).png|32px]]  The piglin beast has been retextured, remodeled and renamed to hoglin.}}
|{{HistoryLine||December 5, 2019|link={{tweet|henrikkniberg|1202598609407135745}}|[[File:Baby Hoglin JE1.png|22px]] A video shows a baby hoglin.}}

|{{HistoryLine|java}}
|{{HistoryLine||1.16|dev=20w06a|[[File:Hoglin JE1.png|32px]] Added hoglins.
|[[File:Hoglin texture glitch 20w06a.png|50px]] Currently, the mane texture of hoglins has a texture glitch.<ref>{{bug|MC-170915}}</ref>
|Hoglins currently have no function of attacking the [[player]] when provoked or [[breeding]] them.
|Hoglins drop [[rotten flesh]].
|The hitbox size of hoglins is currently the same as an adult [[pig]]'s hitbox.
|[[File:Hoglin damaged.gif|32px]] Due to a bug, the legs and ears of a hoglin spasm wildly when moved or attacked.}}
|{{HistoryLine|||dev=20w07a|[[File:Baby Hoglin JE1.png|22px]] Added baby hoglins.
|Hoglins now drop [[raw porkchop]]s and [[leather]].
|Hoglins can now be [[bred]] with [[crimson fungi]].
|[[File:Hoglin attacking Revision 1.gif|32px]] [[File:Baby Hoglin attacking Revision 1.gif|22px]] Hoglins are now hostile toward the [[player]].|Hoglins now have their own [[sound]]s and [[subtitle]]s.
|Hoglins now run away from [[warped fungi]].
|The hoglin's hurt animation has been fixed.}}
|{{HistoryLine|||dev=20w09a|[[File:Hoglin JE2.png|32px]] [[File:Baby Hoglin JE2.png|22px]] The textures of hoglins have been changed.
|[[File:Hoglin texture diff.gif|70px]] The texture of the mane of hoglins has been fixed, which has changed the textures from [[File:Hoglin texture glitch 20w06a.png|50px]] to [[File:Hoglin texture glitch 20w06a fixed.png|50px]]. Also, the color channels of the transparent pixels have now all been filled with black.
|[[File:Baby Piglin Riding a Baby Hoglin.png|32px]] Baby hoglins can now be ridden by baby [[piglin]]s.}}
|{{HistoryLine|||dev=20w11a|Baby hoglins now drop [[experience]].<ref>{{bug|MC-173433}}</ref>}}
|{{HistoryLine|||dev=20w14a|[[File:Hoglin being Zombified.gif|32px]] [[File:Baby Hoglin being Zombified.gif|32px]] Hoglins are now converted into [[zoglin]]s when in the [[Overworld]].
|Hoglins now avoid [[nether portal]]s and [[respawn anchor]]s.
|The texture file of hoglins has been downscaled and their parts rearranged, meaning the file now looks like this [[File:Hoglin (20w14a).png|70px]] instead of this [[File:Hoglin (20w09a-20w13b).png|70px]].}}
|{{HistoryLine|||dev=20w15a|Baby hoglins no longer [[drop]] loot.}} 
|{{HistoryLine|||dev=20w16a|Hoglins now spawn in [[bastion remnant]]s.}}
|{{HistoryLine|||dev=20w17a|One of the new converts to zoglin [[sound]]s has been added.}}
|{{HistoryLine|||dev=20w19a|Hoglins now become [[zoglin]]s when in [[the End]].}}
|{{HistoryLine|||dev=Pre-release 6|Hoglins now have a knockback resistance of 0.6 instead of 0.5.
|Hoglins now have separate textures for each tusk.}}
|{{HistoryLine||1.20.2|dev=23w33a|Hoglins now have a smaller vertical reach, spanning the exact height of its hitbox.<ref>{{bug|MC-2310||Wrong attack radius calculation damages/kills entities through blocks and corners|Fixed}}</ref>
|As a result, they can now be avoided with a 1.5-block pillar, instead of a 3-block pillar.}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.51|[[File:Hoglin BE1.png|32px]] [[File:Baby Hoglin BE1.png|22px]] Added hoglins and baby hoglins.
|The hitbox size of hoglins is currently the same as an adult [[pig]]'s hitbox. 
|Hoglins take [[damage]] from [[fire]] and [[lava]].
|Hoglins currently use the [[player]]'s hurt [[sound]].}}
|{{HistoryLine|||dev=beta 1.16.0.57|[[File:Hoglin BE2.png|32px]] The [[model]] of hoglins has now been changed to more closely resemble [[Java Edition]]'s.
|[[File:Baby Hoglin BE2.png|22px]] However, baby hoglins still do not have big-sized heads, unlike Java Edition. 
|Hoglins now have [[sound]]s. 
|Hoglins now spawn in [[bastion remnant]]s.
|Hoglins can now drop [[leather]] when killed.
|[[File:Hoglin being Zombified.gif|32px]] [[File:Baby Hoglin being Zombified.gif|32px]] Hoglins are now converted into [[zoglin]]s when in the [[Overworld]].
|The attack [[damage]] of adult hoglins is now on a random scale.}}
|{{HistoryLine|||dev=beta 1.16.0.59|[[File:Baby Hoglin BE3.png|30px]] The [[model]] of baby hoglins has now been changed: they now have big heads like in [[Java Edition]].
|Sounds for hoglins converting to [[zoglin]]s have been added. However, they're using the same converting sounds as [[piglin]]s do.
|Hoglins now flee from [[zoglin]]s.
|Hoglins no longer despawn in [[Peaceful]] mode.}}
|{{HistoryLine|||dev=beta 1.16.0.63|Hoglins now have knockback resistance.
|Hoglins no longer flee from [[zoglin]]s.}}
|{{HistoryLine||1.16.100|dev=beta 1.16.100.54|Hoglins now avoid [[respawn anchor]]s.
|Baby Hoglins now deal appropriate damage.
|Baby Hoglin now have drops after being killed by the player.}}
|{{HistoryLine||1.18.20|dev=Preview 1.18.20.28|Baby hoglins no longer attack players.}}
|{{HistoryLine||1.19.30|dev=Preview 1.19.30.21|Hoglins now have the same hitbox size as Java Edition.}}
}}

== Issues ==
{{Issue list}}

== Trivia ==
*The reason hoglins run away from warped fungi is because they dislike their smell.<ref>{{tweet|henrikkniberg|1474319623478820879|Contrary to popular belief, Hoglins in Minecraft aren't actually afraid of warped fungus. They just think it smells really bad, so getting away from it takes priority over both breeding and fighting.|December 24, 2021}}</ref> When asked if nether portals also smell bad to hoglins, Henrik responded saying that the reason hoglins run away from nether portals is because they find the sound annoying.<ref>{{tweet|henrikkniberg|1474347357177323524|No, but the sound is annoying to them.|December 24, 2021}}</ref>
*Similar to the [[ravager]] originally being called "[[illager]] beast" before its official name was chosen by the community, the hoglin's name was also chosen by the community. Its initial placeholder name was "piglin beast".
*{{IN|Bedrock}}, there are unused texture files named {{cd|hoglin_meat_raw}} and {{cd|hoglin_meat_cooked}} that are textured identically to [[Raw Beef|raw]] and [[cooked beef]], respectively.
*[[Henrik Kniberg]] released a video<ref>[https://www.youtube.com/watch?v=8UeeF4lMPnk Hoglin dance (blooper - not actually in the game)]; Henrik Kniberg - May 25, 2020</ref> of a group of hoglins killing a [[piglin]], then "celebrating" by bobbing their heads, then getting on their hind legs and dancing. This feature was never added into any snapshot and is not actually in ''Minecraft'', although the reverse situation has a small chance to occur, in which piglins dance after killing a hoglin.

== Gallery ==
=== Renders ===
<gallery>
Hoglin attacking.gif|A hoglin attacking.
Baby Hoglin attacking.gif|A baby hoglin attacking.
Baby Piglin Riding a Baby Hoglin.png|A baby piglin riding a baby hoglin.
Three Baby Piglins climbing a Baby Hoglin.png|Three baby piglins climbing a baby hoglin after 20w12a.
Hoglin damaged.gif|The hoglin's glitched hurt animation during [[20w06a]].<ref>{{bug|MC-170818}} [Invalid]: "We're closing Hoglin related bugs as the feature implemented right now is basically a placeholder."</ref>
</gallery>

==== Zombification ====
<gallery>
Hoglin being Zombified.gif|A hoglin being zombified after 20w14a.
Baby Hoglin being Zombified JE2.gif|A baby hoglin being zombified.
</gallery>

=== Screenshots ===
<gallery>
Minecraft-Nether-Crimson-Forest-01.jpg|A preview of hoglins in the [[crimson forest]].
Minecraft-Nether-Crimson-Forest-02.jpg|A preview of a hoglin along with a [[piglin]] in the crimson forest.
1.16.2-nether-pig-like-mobs.png|All of the [[Pig (disambiguation)|pig-like]] mobs from the 1.16 [[Nether Update]].
Hoglin Face Closeup.jpg|Close up of a hoglin's face. One nostril is larger than the other one.
</gallery>

=== Development images ===
<gallery>
PiglinBeast.png|Hoglins, showing a crooked [[model]].
Piglin beast attacked by piglins.png|An early model of the hoglin attacked by [[piglin]]s.
Piglin Beast attacking.png|An early model of the hoglin attacking the [[player]].
BabyHoglin.png|A baby hoglin shown on [[wikipedia:Twitter|Twitter]].<ref>{{Tweet|henrikkniberg|1202598609407135745|No, piglin, don't hunt the baby hoglins.|December 5, 2019}}</ref>
Hoglin with enderman eyes.png|A glitched hoglin during development, which was shown on [[wikipedia:Twitter|Twitter]].<ref>{{Tweet|_Ulraf_|1217751534387257344|Rendering is hard O_o|January 16, 2020}}</ref>
Weird Hoglins.jpg|The hoglins with enderman eyes.
Weird Hoglin.jpg|A hoglin with enderman eyes.
Hoglin Spawn Egg BE1.png|The original hoglin spawn egg as seen in [[MINECON Live 2019]].
Floating Hoglins.jpg|Hoglins over lava.
Hoglin Walking (pre-release).gif|A showcase of the hoglin walking during Minecraft Live.
</gallery>

=== Textures ===
<gallery class="pixel-image">
Hoglin (texture).png|Hoglin texture file.
</gallery>

=== In other media ===
<gallery>
NetherUpdateArtwork.png|A Hoglin in promotional artwork for the [[Nether Update]].
Hoglin Artwork.png|Official hoglin artwork.
Easy victory.gif|Animation of several piglin hunters easily killing a hoglin.
LEGO Hoglin.png|[[Lego Minecraft]] hoglin. 
</gallery>

== See also ==
*{{DungeonsEntityLink|Hoglin}} in ''Minecraft Dungeons''
*{{LegendsEntityLink|Warboar}}

== References ==
{{reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/meet-hoglin Meet the Hoglin] – Minecraft.net on October 19, 2019

== Navigation ==
{{Navbox mobs}}

[[Category:Hostile mobs]]
[[Category:Nether mobs]]
[[Category:Animal mobs]]
[[Category:Monster mobs]]

[[de:Hoglin]]
[[es:Hoglin]]
[[fr:Hoglin]]
[[it:Hoglin]]
[[ja:ホグリン]]
[[ko:호글린]]
[[nl:Hoglin]]
[[pl:Hoglin]]
[[pt:Hoglin]]
[[ru:Хоглин]]
[[th:ฮอกลิน]]
[[uk:Гоґлін]]
[[zh:疣猪兽]]
