Difference between revisions of "Pig"
m (Revert edits by Hedwigmartin31 (talk)) Tag: Rollback |
(→Sounds: Pig) Tag: Mobile edit |
||
Line 84: | Line 84: | ||
|distance=16}} |
|distance=16}} |
||
{{Sound table |
{{Sound table |
||
− | |sound= |
+ | |sound=Cow Hurt1.ogg |
− | |sound2= |
+ | |sound2=Cow Hurt2.ogg |
− | |sound3= |
+ | |sound3=Cow Hurt3.ogg |
|subtitle=Pig hurts |
|subtitle=Pig hurts |
||
|source=Friendly Creatures |
|source=Friendly Creatures |
||
Line 94: | Line 94: | ||
|distance=16}} |
|distance=16}} |
||
{{Sound table |
{{Sound table |
||
− | |sound= |
+ | |sound=Cow hurt3.ogg |
|subtitle=Pig dies |
|subtitle=Pig dies |
||
|source=Friendly Creatures |
|source=Friendly Creatures |
Revision as of 12:21, 5 December 2020
Health points |
10 |
---|---|
Behavior |
Passive |
Hitbox size |
Adult: |
Spawn |
Grass with at least two block space above. |
Items usable on |
A pig is a common passive mob found in grassy biomes, which drops porkchops and can be ridden with a saddle.
Contents
Spawning
Pigs spawn in sets of 1–3 above grass blocks at a light level of 7 or more in any grassy overworld place except in snowy tundras and wooded badlands plateaus. Individuals may spawn on grass after the world generation.
A pig spawns in animal pens, stables and in butcher houses' backyards in villages.
5% of pigs spawn as piglets.
Drops
An adult pig drops:
- 1–3 raw porkchop
or cooked porkchop 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 baby pig yields no items or experience.
Behavior
Pigs oink and typically roam avoiding hazards and cliffs high enough to cause falls. They flee for some seconds when harmed.
When a pig is struck by lightning, it transforms into a zombified piglin. If the pig was equipped with a saddle, the saddle is lost and the player dismounts.
Breeding
Pigs follow players within 6 blocks and breed using carrots, potatoes, and beetroots.
It takes 5 minutes before the parents can be bred again. The piglets mature in 20 minutes and stay near their parents; feeding them reduces the remaining time to maturity by 10%.
Riding

Saddled pigs are controllable with a carrot on a stick. They start slow but end up going 5.20 m/s. Pigs can be controlled through 1-block-high bodies of water with a carrot and stick, but deeper water causes the player to dismount. Using the carrot on a stick while riding a pig makes it run faster at the cost of 7 durability. Fall damage is taken by the pig, without causing any knockback or slower movement speed. The Frost Walker enchantment still works on water while riding a pig.
Sounds
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Pig oinks | Friendly Creatures | Plays while the pig is idling. | entity.pig.ambient | subtitles.entity.pig.ambient | ? | ? | 16 | |
File:Pig boost1.ogg | Pig boosts | Friendly Creatures | Plays when a pig that is being ridden is boosted by a Carrot on a Stick. | entity.pig.boost | subtitles.entity.pig.hurt | ? | ? | 16 |
File:Cow Hurt1.ogg | Pig hurts | Friendly Creatures | Plays when the pig is damaged. | entity.pig.hurt | subtitles.entity.pig.hurt | ? | ? | 16 |
Pig dies | Friendly Creatures | Plays when the pig dies. | entity.pig.death | subtitles.entity.pig.death | ? | ? | 16 | |
Footsteps | Friendly Creatures | Plays while the pig is walking. | entity.pig.step | subtitles.block.generic.footsteps | ? | ? | 16 | |
Saddle equips | Friendly Creatures | Plays when the pig is equipped with a saddle. | entity.pig.saddle | subtitles.entity.pig.saddle | ? | ? | 16 |
Data values
ID
Name | Namespaced ID | Translation key |
---|---|---|
Pig | pig | entity.minecraft.pig |
Name | Namespaced ID | Numeric ID | Translation key |
---|---|---|---|
Pig | pig | 12 | entity.pig.name |
Entity data
Pigs have entity data associated with them that contain various properties.
- Entity data
- Additional fields for mobs that can breed see Template:Nbt inherit/breedable/template
- Tags common to all entities see Template:Nbt inherit/entity/template
- Tags common to all mobs see Template:Nbt inherit/mob/template
- Saddle: 1 or 0 (true/false) - true if there is a saddle on the pig.
Achievements
Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS) | |
---|---|---|---|---|---|---|
![]() | When Pigs Fly | Use a saddle to ride a pig, and then have the pig get hurt from fall damage while riding it. | Be riding a pig (e.g. using a saddle) when it hits the ground with a fall distance greater than 5. | 40G | Silver |
Advancements
Icon | Advancement | In-game description | Parent | Actual requirements (if different) | Namespaced ID |
---|---|---|---|---|---|
![]() | The Parrots and the Bats | Breed two animals together | Husbandry | Breed pairs of one of these 19 mobs:
| husbandry/breed_an_animal
|
![]() | Two by Two | Breed all the animals! | The Parrots and the Bats | Breed pairs of each of these 19 mobs:
| husbandry/bred_all_animals
|
History
classic | |||||
---|---|---|---|---|---|
August 20, 2009 | ![]() | ||||
0.24_SURVIVAL_TEST | ![]() | ||||
When first creating pigs, Notch had mixed up the length and height of the body dimensions, and he found the result amusing enough to make into a unique mob.[1] | |||||
0.25 SURVIVAL TEST | Pigs now drop 0–2 brown mushrooms and award the player 10 points each when killed. | ||||
indev | |||||
Minecraft Indev | 20100219 | Pigs now drop 0–2 raw porkchops instead of mushrooms upon death. | |||
infdev | |||||
Minecraft Infdev | 20100625-2 | ![]() | |||
alpha | |||||
v1.0.4 | A sitting animation for riding pigs has been added. | ||||
v1.0.17 | Pigs have been added to multiplayer. | ||||
beta | |||||
1.5 | An achievement for riding a pig off a cliff has been added. | ||||
Pigs struck by lightning now turn into zombie pigmen.[2] | |||||
Pigs that die from being set on fire now drop cooked porkchops. | |||||
1.8 | Pre-release | ![]() | |||
![]() | |||||
A new AI system has been added for passive mobs; pigs now run away when attacked. | |||||
Java Edition | |||||
1.0.0 | Beta 1.9 Prerelease 2 | Pigs can be now be bred with wheat. | |||
Beta 1.9 Prerelease 3 | ![]() ![]() | ||||
1.2.1 | 12w06a | Before this update, all monster spawners found in multiplayer had the pig model inside them instead of whatever mob they actually spawn, with the singular exception of the cave spider. | |||
12w07a | Pigs now have a new AI. | ||||
1.2.4 | release | It is no longer possible to ride piglets with saddles. Right clicking with a saddle does nothing.[is this the correct version?] | |||
1.3.1 | 12w25a | Pigs now drop 1-3 porkchops instead of 0-2. | |||
1.4.2 | 12w36a | Pigs now drop saddles upon death, only if saddled. | |||
Added carrot on a stick to direct saddled pigs. | |||||
Pigs can now be bred only with carrots, not wheat, and follow players who hold a carrot or a carrot on a stick. | |||||
12w37a | Pigs are now able to jump when ridden. | ||||
Pigs now "eat" the carrot in a span of time shown by a durability bar of the carrot on a stick. | |||||
It is no longer necessary to hold the carrot on a stick in the player's hand while the pig is having the burst of speed. | |||||
12w38a | Pigs now have a new step sound. | ||||
1.6.1 | 13w16a | Pigs now display the mob health bar when riding. | |||
1.8 | 14w02a | Piglets growth can now be accelerated using carrots. | |||
1.9 | 15w31a | Pigs can now also be led and bred with potatoes and beetroots, in addition to carrots. | |||
16w05b | The durability of a carrot on a stick is no longer reduced merely by riding a pig, only by using the speed boost. | ||||
1.14 | 18w43a | ![]() ![]() | |||
![]() | |||||
1.15 | 19w37a | 5% of pigs now spawn as piglets. | |||
1.16 | 20w06a | A piglet now becomes a baby zombified piglin after being hit by lightning. | |||
20w15a | Pigs can now be saddled by dispensers. | ||||
Pocket Edition Alpha | |||||
v0.2.0 | ![]() | ||||
Pigs currently cannot spawn naturally, unless the player hacks or edits the inventory. | |||||
v0.2.1 | Pigs now spawn naturally. | ||||
v0.6.0 | ![]() | ||||
v0.8.0 | ? | Pigs can now be bred with carrots, potatoes, or beetroots. | |||
Pigs now have a new AI, so they avoid hazards. | |||||
0.12.1 | ? | Pigs now turn into zombie pigmen when struck by lightning. | |||
v0.14.0 | build 1 | Baby zombie jockeys now check for nearby pigs to mount prior to attacking the player | |||
Pigs no longer spawn in snowy tundra biome and variants. | |||||
v0.15.0 | build 1 | ![]() | |||
Baby husks can now ride pigs. | |||||
v0.16.2 | Pigs now drop 1-3 porkchops instead of 0-2. | ||||
? | The chance of piglets spawning naturally or from a spawn egg has been reduced from 25% to 5%. | ||||
Bedrock Edition | |||||
? | Pigs no longer have a 5% chance to spawn already in breeding mode. | ||||
1.10.0 | beta 1.10.0.3 | ![]() ![]() | |||
![]() | |||||
1.11.0 | beta 1.11.0.1 | Pigs now spawn in village butcher houses, pens and stables. | |||
Legacy Console Edition | |||||
TU1 | CU1 | 1.0 | Patch 1 | 1.0.1 | ![]() |
TU5 | ![]() | ||||
Pigs run away when attacked. | |||||
TU7 | ![]() | ||||
Pigs can now be bred with wheat. | |||||
TU14 | 1.04 | Pigs now drop 1-3 porkchops instead of 0-2. | |||
![]() | |||||
Pigs now drop saddles when killed (if equipped with one). | |||||
Piglets can now be spawned by using ![]() ![]() ![]() | |||||
TU31 | CU19 | 1.22 | Patch 3 | Baby pig growth can now be accelerated using carrots. | |
1.90 | ![]() ![]() | ||||
![]() | |||||
New Nintendo 3DS Edition | |||||
0.1.0 | ![]() ![]() |
The original pig model before it was made into a creeper.
Issues
Issues relating to "Pig" are maintained on the bug tracker. Report issues there.
Trivia
- Pigs are the oldest existing passive mobs in the game.
- The player can travel through a space with a 1 block height by riding a pig.
- When Notch was designing the pig, he accidentally mixed up some dimensions; this created what is now known as the creeper.[1]
- The Pig appears as a DLC costume for the Mii Brawler in the crossover fighting game Super Smash Bros. Ultimate.
Gallery
A player riding a pig with the carrot on a stick and the saddle.
A dying pig mob.
First image of player-controlled pigs released by Dinnerbone.
In Other Media
Official Mojang pig artwork.