Pig

A pig is a passive mob found commonly in most grass biomes, though they also can also spawn in the Taiga biomes, the Badlands, Savanna, and Jungle biomes with seperate variants. Pigs are a source of porkchops and can be equipped with a saddle to be driven.
==Spawning==
, pigs spawn in groups of 4 above grass blocks at a light level of 9 or more in any grassy Overworld biome except in snowy plains, and meadows. Individual pigs rarely may spawn on grass after the world generation. , pigs spawn in groups of 1 to 3 above grass blocks at a light level of 7 or more in any grassy Overworld biome except in snowy plains, meadows and wooded badlands plateaus. Individuals regularly spawn on grass after the world generation.
Pigs spawn in animal pens, stables and in butcher house backyards in villages. 95% of pigs spawn as adults and 5% of pigs spawn as piglets. Pigs cannot spawn naturally with a saddle.
==Drops==
An adult pig drops upon death:
* From 1 to 3 or if killed while on fire. The maximum amount is increased by 1 per level of Looting, for a maximum of 1-6 with Looting III.
* A if saddled.
* experience orbs if killed by a player or tamed wolf.
* orbs upon breeding.
Killing a piglet yields no items nor experience.
==Behavior==
Pigs roam the Overworld avoiding hazards and harmful falls. A pig flees for a short time when harmed.
When a pig or piglet is struck by lightning, it transforms into a zombified piglin or baby zombified piglin, respectively. If the pig was equipped with a saddle, the saddle is lost and the player dismounts. If lightning strikes a pig in Peaceful difficulty, the pig does not transform but takes normal damage from the strike.
===Riding===
== Riding ==
It is possible to ride an adult pig by using a saddle on it. When a saddle is used on a pig, the pig might stare at the player for a few seconds. Saddled pigs are controllable with a carrot on a stick. They start slow but accelerate to 5.20 blocks/s. Piglets cannot be saddled nor ridden.
Pig cannot float on water when being controlled. Pigs can be controlled through 1-block-high bodies of water with a carrot and stick, but deeper water causes the player to dismount. the carrot on a stick while riding a pig makes it run faster at the cost of 7 durability. If the pig and rider fall, then fall damage doesn't cause any knockback or slower movement speed.
A player can travel through a space 1 block high by riding a pig. 
===Breeding===
Pigs follow players within six blocks using carrots, potatoes, beetroots or carrots on a stick. Pigs can be bred using carrots, potatoes or beetroots. After breeding, the parents have a cooldown of 5 minutes before they can breed again. Piglets mature in 20 minutes and stay near their parents. Feeding them reduces the remaining time to maturity by 10%. Baby pigs whose parents are mixed (temperate and cold, temperate and warm, warm and cold) variants will have their variant randomly picked from one of their parents, and will not be decided by which biome they reside in.
== Variants ==
In Java Edition (as of snapshot 25w02a), pigs can spawn in 3 different variants (breeds):
* Temperate pigs, which were the only variant existing before 25w02a.
* Cold pigs, which spawn in Old Growth Pine Taigas, Old Growth Spruce Taigas, Taigas, Snowy Taigas, Windswept Hills, Windswept Gravelly Hills, and Windswept Forests.
* Warm pigs, which spawn in Savannas, Savanna Plateaus, Windswept Savannas, Jungles, Sparse Jungles, Bamboo Jungles, Eroded Badlands, Wooded Badlands, and Badlands.
==Sounds==
:
Pigs use the Friendly Creatures sound category for entity-dependent sound events.
:
==Data values==
===ID===
:
:
===Entity data===
Pigs have entity data associated with them that contain various properties.
:
:
: See Bedrock Edition level format/Entity format.
==Achievements==
==Advancements==
==History==
Original pig.jpg|The original pig model before it was made into a creeper.
Pigs old 2009.jpg|The old "cross-eyed" pig texture.
Beta 1.8 Dev Snouts.png|The first image of pigs with 3D snouts.
PigControl.png|First image of player-controlled pigs released by Nathan Adams.
==Issues==
==Trivia==
*A pig appears as a DLC costume for the Mii Brawler in the crossover fighting game Super Smash Bros. Ultimate.
*The 2017 game Fire Pro Wrestling World contains the Minecraft pig texture in its files. However, the texture is not used in-game.
*In the 1.19 promotional artwork there is a pig with a crown, a reference to the Minecraft Youtuber, Technoblade.
==Gallery==
Pig Death.png|A dying pig.
Minipig.png|A piglet compared to an adult pig. Despite the piglet's body size they have the same head size as an adult pig.
SaddledBabyPigAndParent.png|A saddled piglet next to its parent. Saddled piglets are available only via commands.
Baby Saddled Pig.png|Another saddled piglet.
PigSaddleMinecart.png|A player riding pig while the pig is riding a minecart.
Pigs following beetroot holder.png|Pigs following the player.
PigNipples.png|An upside-down pig, revealing its feet and nipples.
Pig facing player.png|A pig facing the player.
Ravine with pigs in it.png|A ravine filled with three pigs in it.
Pig Riding 1.jpg|First image of pig riding in Bedrock Edition.
Pig Riding 2.jpg|Second image of pig riding in Bedrock Edition.
Pig Riding 3.jpg|Third image of pig riding in Bedrock Edition.
File:Zuri Freefall.jpeg|A pig watching Zuri falling.
File:Coldpig.png|The cold pig variant from 25w02a
File:Warmpig.png|The warm pig variant from 25w02a
===Artwork===
Animals.png|Artwork of a pig alongside Steve and a sheep.
Steve Alex Pig.png|Steve and Alex with a pig.
Pig Artwork.png
Pig Artwork 2.png
Pig Artwork 3.png
Saddled Pig Artwork.png|Saddled pig artwork.
Pig Sticker.gif
Village and Pillage banner.png|A pig in promotional artwork for the Village & Pillage Update.
Caves & Cliffs cover art.png|A pig in promotional artwork for the first Caves & Cliffs update.
Wild key art.png|A pig in official artwork for The Wild Update.
Minecraft Education Edition Key Art.jpg|A pig in official artwork for the Education Edition.
Steve-Alex-Noor-pigs.jpg|Official artwork of Alex, Steve, and Noor riding pigs.
=== Cosmetics===
File:City Pig.png|A pig as it appears in the City texture pack.
File:Greek Pig.png|A pig as it appears in the Greek Mythology texture pack.
File:Skeleton Pig.png|The Skeleton Pig, featured in the Halloween Edition mash-up pack and Minecraft Mini-Series.
File:Pig TP.png|A pig as it appears in the Plastic texture pack.
File:Party Pig.png|Party Pig, a skin featured in the 1st Birthday Skin Pack.
File:Pig Ears.png|Pig Ears, created by Oreville Studios for the Angry Birds DLC.
File:Pig Face CC.png|Pig Face by ASCENT
File:Pig Head.png|Pig Head, another Angry Birds collaboration.
File:Pig Snout.png|Pig Snout, a third Angry Birds collaboration.
File:Pig Whisperer.png|Pig Whisperer, a skin dressed as a pig featured in the Builders and Biomes skin pack.
File:Pig Whisperer Alternate.png|Alternate design for the Pig Whisperer.
File:Technoblade On Launch Screen.png|Technoblade's early design
===In other media===
Reuben.png|Reuben, a pig featured in Minecraft Story Mode.
File:Jens at Telltale.jpg|A pig figure at Telltale Games.
File:Mottled Pig (inventory) MCE.png|Mottled Pig, a unique variation featured in Minecraft Earth.
Piggy Bank T Pose.png|A Piggy Bank, a pig variant featured in Minecraft Dungeons.
Pig mii fighter costume.jpg|The pig Mii Brawler costume in Super Smash Bros. Ultimate.
Pigtales.png|Pig sock puppets from the defunct Mojang website Pig Tales.
File:Croc Ad 3.jpg|Sunny riding a pig in an advertisement.
File:Croc Ad 4.jpg|Ditto.
Pig Mobestiary.jpg|The pig as seen in the Mobestiary
LEGO Pig.png|Lego Minecraft pig minifigure.
LEGO Minecraft Micro-Mobs 2.jpg|Pig micromob (left) from Lego Minecraft.
Pig Riding JINX.jpg|Official T-shirt artwork "Pig Riding" featuring Steve and a pig. Made by JINX.
Pig Plush.jpg|Pig plush made by JINX.
Baby Pig Plush JINX.jpg|Baby pig plush made by JINX.
File:Pig Wheelchair Cover.jpg|An officially licensed pig wheelchair cover.
===Textures ===
File:Pig (texture) JE4 BE2.png
File:Saddle (pig texture) JE1.png
File:Pig (texture) JE3.png|Programmer Art texture.
==References==
Category:Passive mobs
Category:Animal mobs
cs:Prase
de:Schwein
es:Cerdo
fr:Cochon
hu:Malac
it:Maiale
ja:ブタ
ko:돼지
nl:Varken
pl:Świnia
pt:Porco
ru:Свинья
th:หมู
uk:Свиня
zh:猪
Category:Four legged mobs