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, and this makes for some odd behavior when at obstacles they cannot over come. 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, and although it can appear that they are attracted to light, this is not the case. It is a common sight to see passive mobs clustered in lit areas at night, but this is only because that is the only place they can spawn, and they will often wander out into the dark.

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.
 * 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.

Appearance

 * Pigs, like sheep 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 and Beta
 * 0-3 raw porkchop pieces

Beta
 * 0-3 Cooked porkchop pieces (Only if the pig dies by fire)