Wiki 9Minecraft Wiki 9Minecraft

Pig

Mobs & entity

The pig is a passive animal that spawns naturally in 26 different biomes, including Badlands, Bamboo Jungle, Birch Forest, and Cherry Grove.

Players kill pigs to collect the raw porkchop they drop. A spawn egg for the pig also exists, which allows players to place one directly into the world.

Contents (8)
  1. Animations
  2. Sounds
  3. Stats
  4. Advancements
  5. History
  6. Registry entry
  7. Related items
  8. See also

Animations

6 of these were recorded inside the running game, so the movement is the animation Mojang shipped rather than an imitation of it. Transparent background, free to download.

Pig, walking
WalkingDownload
Pig, running
RunningDownload
Pig, idle
IdleDownload
Pig, baby
BabyDownload
Pig, taking damage
Taking damageDownload
Pig, death
DeathDownload
Pig, saddled
SaddledDownload

Sounds

6 sound events for this mob, 15 files in all. Where an event lists more than one file the game picks one at random. Volume, pitch and attenuation are the values the game declares in its own sounds.json.

EventSoundClosed captionIdentifierTranslation keyVolumePitchAttenuation
ambientPig oinksentity.pig.ambientsubtitles.entity.pig.ambient1116
deathPig diesentity.pig.deathsubtitles.entity.pig.death1116
eatPig eatsentity.pig.eatsubtitles.entity.pig.eat1116
hurtPig hurtsentity.pig.hurtsubtitles.entity.pig.hurt1116
saddleSaddle equipsentity.pig.saddlesubtitles.entity.pig.saddle0.5116
stepFootstepsentity.pig.stepsubtitles.block.generic.footsteps1116

Stats

Mojang publishes these numbers in the Bedrock behaviour pack (bedrock-samples); the Java edition keeps them in code, not in any data file. Most values match across editions, but not all — treat them as the Bedrock figures.

Health points10
Movement speed0.25
Hitbox size0.9 blocks wide, 0.9 blocks tall
Mob typepig, mob

Advancements

Advancements whose own criteria name this entry. Recipe-unlock entries are left out — they never appear on the player’s Advancements screen.

History

Worked out by reading the registry of every Minecraft build Mojang has published, in release order.

VersionDateWhat the files show
before 18w50a—Already in the game when Mojang’s data generator first shipped, in 18w50a (12 December 2018). The files do not say which earlier version added it.

Registry entry

Identifierminecraft:pig
Registryminecraft:entity_type

See also