Pig

Pigs are passive mobs that first appeared in Survival Test mode. The main purpose of pigs is to supply raw porkchops, and therefore are a renewable source of food. Pigs are 1.1875 blocks tall, 0.625 blocks wide and 1.25 blocks long.

Behavior
Pigs wander around aimlessly. When they come to an obstacle, they will often try to breach it by jumping. This makes for some odd behavior when they can't get over the obstacle (random continuous jumping). They will make no attempt to stay out of water, and a common sight is several pigs bouncing up and down in the water. If you stand near a pig, it will turn its head towards you for a few seconds, then resume its wandering. Pigs often spawn in groups of 3-4. Like all other passive mobs, they move entirely randomly.

Information & History

 * The default mob a monster spawner spawns is a pig, and therefore if a mob spawner is placed by the player, it will spawn pigs if there is grass with a light level above 9 within five blocks of the spawner.
 * Pigs are ridable with a saddle, but you are incapable of controlling movement.
 * 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)
 * In Beta 1.5, there is an achievement for riding a pig off a cliff.
 * 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.
 * In Beta 1.5, pigs struck by lightning will turn into zombie pigmen.
 * A monster spawner on a SMP server will always have a miniaturized pig in it, no matter what mob it spawns.
 * In Beta 1.5, if a pig is lit on fire and dies from it, it will instead drop a Cooked Porkchop, however it will not show any hurting animations.

Appearance

 * Pigs, like sheep and creepers have a separate armor file (the saddle), but do not spawn with it.
 * The original pig texture has its eyes closer together.

Drops
Survival Test
 * 0-2 Brown Mushrooms

Alpha
 * 0-2 Raw Porkchops

Beta
 * 0-2 Raw Porkchops
 * 0-2 Cooked Porkchops (When killed whilst on fire)

Bugs

 * If you hit a pig with a saddle (by left-clicking) it will do normal damage but it will also place the saddle on the pig.
 * 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)