Pig

Pigs are passive mobs.

Spawning
Pigs spawn on grass blocks at light level of 9 or more. They do not despawn.

Drops
Pigs drop from 1 to 3 units of raw porkchop (1-3 units of cooked porkchop if died while on fire). Baby pigs don't drop anything. Pigs also drop 1-3 experience when killed by a player or tamed wolf.

Behavior
Pigs are 0.875 blocks tall, 0.650 blocks wide and 1.3 blocks long.

Pigs typically roam the Overworld in groups of 3 - 4.

When they encounter obstacles, pigs will often answer them by hopping up and down, apparently attempting to jump over them regardless of whether this is actually possible. They make no attempt to stay out of water, bobbing up and down to stay afloat. Pigs' pathfinding is similar to other passive mobs; they avoid harmful falls and attempt to go around obstructions. When led with carrots, pigs seem to "forget" their pathfinding skills.

Pigs tend to move more often, but in smaller strides, towards the North-East, without any other variables coming into play.

When struck by lightning, pigs turn into Zombie Pigmen.

Breeding
Pigs can be bred using carrots. It takes about 5 minutes before the parents can be bred once more, which applies to all farm animals. It takes at least one full Minecraft 'day' (20 minutes or more) for piglets to mature. The appearance of a piglet is roughly similar to that of an adult pig, having the same sized heads, but noticeably smaller bodies. Piglets mostly stay around their parents until they mature, although the parents cannot protect the piglet(s) from harm. In Pocket Edition, pigs can also be bred with potatoes and beetroots.

The growth of baby pigs can be slowly accelerated using carrots. Each use takes 10% off the remaining time to grow up.

Riding pigs
Saddled pigs are controllable with a carrot on a stick. They start slow but end up going up to 5 blocks per second (5m/sec). Pigs do not respond to carrots after entering a body of water. Pigs "eat" the carrot in a span of time which is shown by a durability bar on the carrot on a stick. the carrot on a stick will cause them to have a burst of speed but take the durability off it by one quarter of the health. It is not necessary to hold the carrot on a stick while the pig is having the burst of speed. Damage is taken by the part that was hit; fall damage is taken by the pig. However, it does not cause any knockback nor any decrease of movement speed.

Trivia

 * Pigs have a separate "armor" file (for use with the saddle).
 * Saddled pigs in minecarts behave strangely:
 * If the player rides the pig, the speed of the minecart will be boosted.
 * The minecart, ridden or not, will not come to a stop unless it hits a block. Other entities and unpowered gold rails will only slow it to a minimum speed.
 * One of the splashes which shows up on the title screen reads "Ride the pig!".
 * The house-music artist deadmau5 released a song titled "Get In The Cart, Pig", in a direct reference to Minecraft.