Minecraft:Pig
More actions
Template:For Template:Infobox entity A pig is a Minecraft:passive mob found commonly in most grassy Minecraft:biomes. Adult pigs are a source of Minecraft:porkchops and can be ridden using a Minecraft:saddle and a Minecraft:carrot on a stick. They have three variants based on the Minecraft:temperature of the biome they spawn in.
Spawning
Pigs spawn in the Minecraft:Overworld in most grassy biomes except for Minecraft:snowy plains, Minecraft:meadows, Minecraft:mangrove swamps, and Minecraft:pale gardens.
Template:IN, pigs spawn in groups of 4 on Minecraft:grass blocks. Individual pigs rarely may spawn on grass after world generation.
Template:IN, pigs spawn in groups of 1 to 3 on grass blocks. Individuals regularly spawn on grass after world generation.
Each pig has a 5% chance of spawning as a baby.
Pigs sometimes also spawn in animal pens, stables, and butcher house backyards in Minecraft:villages upon world generation.
Pigs cannot spawn naturally with a saddle.
Variants
Template:Redirect Pigs have 3 variants: temperate, cold, and warm. This variant is determined by the biome the pig spawns in and does not impact their behavior.
If a pig spawn egg is used in any biome not listed, a temperate pig is spawned.
Sound variants
Template:Redirect Pigs have 3 sound variants: Big, Classic, and Mini.
A sound variant is chosen randomly upon the mob spawning, and is not related to the mob's temperature variant. These sound variants have no effect on the mob's behavior.
For the sounds of each sound variant, see Template:Slink.
Drops
On death
An adult pig drops: Template:DropTable
- A Template:ItemLink if saddled.
- Template:Xp Minecraft:experience orbs if killed by a player or tamed Minecraft:wolf.
Killing a baby pig yields neither Minecraft:items nor Minecraft:experience.
Behavior
Pigs roam the Overworld avoiding hazards and harmful falls. A pig flees for a short time when harmed.
Pigs follow players holding Minecraft:carrots, Minecraft:potatoes, Minecraft:beetroots or a Minecraft:carrot on a stick within a radius of six blocks.
Breeding
Template:Main Pigs can be bred using Minecraft:carrots, Minecraft:potatoes, or Minecraft:beetroots. After breeding, the parents have a cooldown of 5 minutes before they can breed again. Baby pigs mature in 20 minutes and stay near their parents. Feeding them reduces the remaining time to maturity by 10%. Feeding baby pigs a golden dandelion will freeze their growth. If they are fed again it will take them 24000 ticks (20 minutes) to grow up.
When two different variants of pigs are bred together, the variant of the baby is randomly selected from one of the parents' variants.
Riding
It is possible to ride an adult pig by Template:Control a Minecraft:saddle on it. Minecraft:Shears can be used on a saddled pig to retrieve the saddle. Baby pigs cannot be saddled nor ridden.
Saddled pigs are controllable with a Minecraft:carrot on a stick. They travel at a default speed of 2.42 blocks/s.
Template:Control the carrot on a stick causes the pig to enter a boost, at the cost of 7 durability. While boosted, the pig gradually accelerates to its peak speed of 5.2 blocks/s (6.24 blocks/s with Minecraft:Speed I and 7.28 blocks/s with Speed II) until halfway through the boost, and then decelerates to its default speed by the end of the boost. Specifically, the speed of the pig increases by <math>1+1.15\times \sin\left(\frac{t}{t_0}\pi\right)</math> times the original speed, where <math>t</math> is the time already passed since the start of the boost, and <math>t_0</math> is the total duration of the boost. No matter how many ticks the boost lasts, the average speed of pig during a full boost cycle is roughly 4.19 m/s.
Unlike other Overworld mounts,<ref>Template:Bug</ref> pigs cannot float on water or lava (even if they have Minecraft:Fire Resistance) 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. 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.
Lightning
When a pig or baby pig is struck by Minecraft:lightning, it transforms into a Minecraft:zombified piglin or baby zombified piglin, respectively. If lightning strikes a pig in Minecraft:Peaceful difficulty, the pig does not transform but takes normal damage from the strike. If the pig was equipped with a saddle, the saddle is lost.<ref>Template:Bug</ref> If a player was riding the pig, they are kept mounted on the zombified piglin Template:In,<ref>Template:Bug</ref> while Template:In they are dismounted.<ref>Template:Bug</ref>
Jockey
15% of nearby baby Minecraft:zombies, Minecraft:husks, or Minecraft:drowned may ride an adult unsaddled pig to form a Minecraft:jockey.
Sounds
Generic
Template:JE: Template:SoundTable
Template:BE: Template:SoundTable
Classic
Template:JE: Template:SoundTable
Template:BE: Template:SoundTable
Big
Template:JE: Template:SoundTable
Template:BE: Template:SoundTable
Mini
Template:JE: Template:SoundTable
Baby
Data values
ID
Template:Editions: Template:ID table
Template:Editions: Template:ID table
Entity data
Pigs have entity data associated with them that contain various properties.
<section begin="entity data"/>
- Template:Nbt Entity data
- Template:Nbt inherit/breedable
- Template:Nbt inherit/entity
- Template:Nbt inherit/mob
- Template:Nbt: the variant of the pig. Represents the Template:DCL component.
<section end="entity data"/>
Achievements
Achievements that apply to all mobs: Template:Collapse
Advancements
Advancements that apply to all mobs: Template:Collapse
History
Development
Java Edition
Template:More images Template:HistoryTable
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
-
The original pig model before it was made into a Minecraft:creeper.
-
The old "cross-eyed" pig texture.
-
The first image of pigs with 3D snouts.
-
The image suggesting Notch add snouts to pigs.
-
The image thanking Notch for adding snouts to pigs.
-
First image of player-controlled pigs released by Minecraft:Nathan Adams.
-
First image of pig riding in Bedrock Edition.
-
Second image of pig riding in Bedrock Edition.
-
Third image of pig riding in Bedrock Edition.
Data history
Issues
Trivia
- A pig appears as a DLC costume for the Mii Brawler in the crossover fighting game Minecraft:Super Smash Bros. Ultimate.
- The third hurt sound for the baby pig was reused from the Minecraft:Piggy Bank from Dungeons.
Gallery
References
Minecraft:cs:Prase Minecraft:de:Schwein Minecraft:es:Cerdo Minecraft:fr:Cochon Minecraft:he:חזיר Minecraft:hu:Malac Minecraft:it:Maiale Minecraft:ja:ブタ Minecraft:ko:돼지 Minecraft:lzh:豕 Minecraft:nl:Varken Minecraft:pl:Świnia Minecraft:pt:Porco Minecraft:ru:Свинья Minecraft:th:หมู Minecraft:uk:Свиня Minecraft:zh:猪