Villager

A Villager, also known by many players as a Testificate, is a passive NPC (Non-Player Character) that spawns and moves about in NPC Villages. Their characteristic look is dominated by their large, bald heads, green eyes, uni-brows, and long, protruding noses. They spawn around the villages and inside the buildings. They spawn at their respective buildings corresponding to the role they have.

There are different types, distinguished by the color of their robes, which signify their role in the community. There are 6 unique skins for the Villagers which are found in the minecraft.jar file, but one is not used in the game.

Behavior
Villagers will randomly look at the player, and wander the area of the village. They do not attack if attacked, but they will be knocked back. When attacked, they will not run away. If the player does happen to kill one, they drop nothing, and others will do nothing about it, though nearby iron golems will attack the player.

Villagers gained the ability to utilize doors and therefore able to go in and out houses. Villagers will hide in houses during night, rain, or when chased by Zombies.

Villagers run away from Zombies, which attacks the Villagers. Sieges can occur between these mobs, and the Villager's only defense are the iron golems, which protect Villagers from nearby mobs.

In 12w05a, they will "socialize" with each other and passive mobs. This involves two Villagers simply facing each other. Villagers can socialize with the player. This occurs when the player approaches to a Villager and stand still. When Villagers are near an iron golem, they will stop and look at it.

The iron golems sometimes give roses to the Villagers, symbolizing the friendly relationship between the Villagers and Iron Golems.

Mating and Population
Villagers will mate depending on available housing. The amount of housing can be supplemented by the player placing wooden doors nearby, no walls or roofs are necessary, although one solid block less than two blocks away horizontally is necessary, or alternatively, one block about the door vertically up to 256 blocks away. As of 12w08a, a house is a block within 5 blocks of either side of a door at any height from base level(a block directly above the door does not count). Villagers will then mate continuously until the number of adult villagers equals one third of the number of doors. Any remaining children will grow up as usual, resulting in a total number of adult Villagers somewhere above one third of the number of nearby wooden doors. The type of Villager that the child is, doesn't seem to depend on what type the parents are; Two farmer Villagers can have a child that is any of the occupations. Unlike other breed-able mobs, the parents and child have no personal interactions other than socializing.

Villager children will sprint about, entering and leaving houses at will. The Villager children will also chase each other around the village to simulate that they are playing tag. These children will sometimes stop sprinting to look at an Iron Golem. If the Iron Golem is holding a rose, the children will cautiously take the flower.

Professions
Each Villager's profession can be identified by its clothing. The Villager's profession does not give them unique differences from each other, however.

(Note that all Villagers have brown clothing under their robes/aprons)

History
Villagers were first introduced in Beta 1.9 Pre-release 1. They had the same AI programing as a Chicken and had the name "TESTIFICATE" over their heads the same way player names are applied in Multiplayer. The names were removed in 1.9 Pre-release 2.

As of 1.1, the original Farmer NPC can be spawned in Creative mode by using Spawn Eggs. The other NPC variations may be available in the future.

In 12w05a, Villagers can open and close doors, go inside at night, and can detect houses.

In 12w06a, Villagers can socialize with each other and passive mobs, are attacked by and run away from Zombies, and go inside when it rains.

In 12w07a, Villagers will repopulate NPC villages by the number of houses there are, and their children sprint.

In 12w08a, Iron Golems were added to protect Villagers. They act as guards and will attack nearby hostile mobs or a mob that attacked a nearby Villager (including the player). They spawn in villages but can also be crafted by players (similarly to Snow Golems).

Future
Villagers currently in development with having sieges against Zombies.

It is noted that there will be a trading system between the players and Villagers.

Trivia

 * Due to their peculiar look Villagers have been ridiculed by the fanbase, sometimes comparing them to Squidward from SpongeBob SquarePants or Bert from Sesame Street. Notch himself agreed they look like "Caveman Squidwards".
 * Since the Villager's introduction, there has been a texture in the game files indicating a standard Villager type due to their filename. However, this role seems to be filled by the Farmer type instead, with no Villager of this type ever spawning.
 * A texture in the main mob directory of Minecraft appears to be the default character texture ("Steve") reoriented to be a Villager texture. As is expected, applying it to the current Villager model produces a very broken look, as seen above.
 * Villager's arms are implied to be jointed, with two parts each to create folded arms. Another likely implication is that the arms are tucked inside the sleeves, so that the sleeves touch.
 * It has been proven that Villagers can climb ladders if they are in their path, like other mobs.
 * Before Snapshot 12w05a, when Villagers did not have the ability to detect houses, Villagers would often wander away from villages.
 * As of Snapshot 12w08a, Villagers are tied with the large Slime and Magma Cube as the fourth tallest mob in the game. They are exactly 2 blocks tall, most mobs are under 2 blocks tall: Including the player.