Passive mobs
Pig
Pig is a current Java and Bedrock Edition entity with a 0.9 × 0.9 block bounding size in the primary record.
Pig- Edition
- Java & Bedrock
- Java ID
- minecraft:pig
- Bedrock ID
- minecraft:pig
- Java numeric ID
- 100
- Bedrock numeric ID
- 2
- Entity type
- animal
- Category
- Passive mobs
- Width
- 0.9 blocks
- Height
- 0.9 blocks
Size and edition support
Pig is available in Java & Bedrock. Its base bounding box is approximately 0.9 blocks wide by 0.9 blocks high; poses, age variants and special states can change how an entity occupies space.
Summon command
/summon minecraft:pig ~ ~ ~/summon- Creates an entity in the world.
minecraft:pig- The namespaced identifier for Pig.
~ ~ ~- The command executor's current X, Y and Z position.
Some technical entities require additional data, cannot persist normally, or are intended to be created only by game systems.