Pig

Pigs are passive mobs that provide the quintessential porkchops that sustain many a player and are a renewable source of food in the Overworld. They stand 1.875 blocks tall, 0.625 blocks wide and 1.25 blocks long.

Uses
Each pig will drop 0 - 2 raw porkchops upon death. Pigs that are set alight with a flint and steel or from contact with lava will drop 0 - 2 cooked ones instead.

Behavior
Pigs roam the Overworld in groups of 3 - 4. When they encounter obstacles, they will often try to breach them by hopping and make no attempt to stay out of water, bobbing up and down to stay afloat. If the player stands near a pig, it will turn its head towards them for a few seconds before resuming its wandering.

By right-clicking on a pig while holding a saddle, a player can ride it. However, the movement of the rider and pig cannot be controlled by the player. Riding a pig off a cliff is one of the more unusual and challenging achievements in Minecraft.

History
Pigs were introduced in Survival Test, dropping 0 - 2 brown mushrooms and awarding a player 10 points each when killed. After Alpha, each pig would provide the player with 0 - 2 raw porkchops.

With the Beta 1.5 update, an achievement was added for riding a pig off a cliff. Pigs struck by lightning would be turned into zombie pigmen. , and pigs that died from being set on fire would drop ready-cooked porkchops.

Bugs

 * If you hit a pig with a saddle (by left-clicking) it will damage the pig, but it will also place the saddle.
 * If you save and quit while riding a pig the "Saving Chunks" bar will not fill up properly and can stop filling up and appear to be frozen before it suddenly opens the main menu (without the bar filling up any more).
 * A monster spawner on a SMP server will always have a miniaturized pig in it, no matter what mob it spawns.
 * Riding a pig into a portal, like all vehicles, will leave you stuck in the teleport animation. If you close minecraft and restart, you will be in a freshly generated nether location. Upon dying, you will lose your previous nether.

Trivia

 * The default mob a monster spawner creates is a pig. If one is placed by the player, it will spawn pigs on grass blocks with a light level >9 within five blocks of it.
 * Pigs have a separate "armor" file (the saddle), but do not spawn with it.
 * If you manage to get a pig with a saddle into a minecart, the pig will boost the minecart. (unsure if it still works in Beta 1.7)