Pig

Pigs are passive mobs that are the source of porkchops, and are a renewable source of food. They are 0.875 blocks tall, 0.650 blocks wide and 1.3 blocks long.

Appearance
A Pig has pink skin, ears, and nose. Their eyes are one black and one white pixel, and they have a short, stubbed tail. Just like any other passive mob except squids and villagers, they are walleyed.

Usage
Each pig will drop 0 - 2 raw porkchops upon death. , Pigs that die while on fire will drop 0 - 2 cooked porkchops instead. Pigs can also be used as a method of uncontrolled transportation

Behavior
Pigs roam the Overworld in groups of 3 - 4, but there can be plenty more than that in one group. When they encounter obstacles, they will often try to surmount them by hopping up and down. They make no attempt to stay out of water, bobbing up and down to stay afloat. Pigs have been described as the "stupidest mob" due to their inefficient, sometimes comical, pathing. When leading them with wheat they will often become stuck on the opposite side of a block rather than walking around it.

By right-clicking on a pig while holding a saddle, a player can ride it. However, the movement of the pig cannot be controlled by the player. Riding a pig off a cliff is one of the more unusual and challenging achievements in Minecraft. It would be easy to do this by going onto Multiplayer and spawning a pig on a floating block, putting a saddle on it, hopping in and then getting another player to destory the block you're on. (Make sure the block is a few blocks high so the pig takes fall damage thus getting the achievement

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

As of 12w7b pigs have a new AI system like the many growing mobs. This AI is the same with the sheep, cows and mooshrooms.

Pigs can climb up and down ladders.

Breeding
Like all passive mobs, excluding squid and villagers, pigs can be bred using Wheat. Before version 1.2.4 If you right click a baby pig with a saddle, you will find yourself riding the baby pig. It takes about 5 minutes before the parents can have another baby. The same applies for all farm animals.

History
Creepers were originally a failed attempt to make a quadrupedal model for pigs, which Notch found amusing enough to make into a unique mob.

Pigs were introduced in Survival Test, dropping 0 - 2 brown mushrooms and awarding a player 10 points each when killed. When they were first added, pigs looked "cross-eyed" and both eyes were closer to each other, but this was changed shortly after. 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.

Since 1.8 pigs have their snout protrude out from their head and will run away when attacked.

Since 12w07b Pigs have the new AI system. 

Bugs

 * 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).
 * When a pig that is being ridden is killed, it will not drop the saddle. has been like this since saddles were introduced.(Not really a bug, but very annoying considering how hard it is to get a saddle)
 * While riding a pig, the characters' legs come out of his armor in the inventory view.
 * If a pig is in a minecart and gets stuck in a block, it will slowly take damage and die.

Trivia

 * Before 12w06a, all Mob Spawners found in SMP have pigs inside them instead of whatever creature they actually spawn, with the singular exception of the Cave Spider. This bug has been fixed as of 12w06a.
 * In addition, any Spawner placed by a Player will be a Pig Spawner on default. It may be altered via Mods later on.
 * Pigs have a separate "armor" file (the saddle), but do not spawn with it.
 * Saddled pigs in minecarts behave strangely:
 * If you ride 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.
 * Off the minetracks, they can be ridden and will continually move at a slow rate. The controls are opposite of a boat.
 * By putting a pig with saddle in a minecart, and getting it off the tracks, it acts like a car. But with opposite controls.
 * If a ridden pig is hit by lightning, it still turns into a Zombie Pigman. The Player will receive 2 and a half hearts damage and be knocked off the mob.
 * It takes one full Minecraft day or 20 minutes for baby piglets to become fully mature pigs.
 * Baby Pigs that get hit by lightning turn into Zombie Pigmen, the same as normal pigs do.
 * When the player is riding a pig, the player can still sneak.
 * One of the splashes which shows up on the title screen reads "Ride the pig!" (Possibly a reference to the TV show Invader Zim).
 * Prior to Beta 1.8, the pig's snout was not 3D. Instead, it was completely flat.
 * In 1.2.3 if a pig spawns under a tree with a dirt block under it, it will get stuck until The Player removes the dirt block.
 * It is possible to control a saddled pig by throwing snowballs/eggs at them, they will run the opposite direction the snowball/egg hit them. However, this method is very hard because the pig is likely to run around in circles.