Villager

Villagers are mobs that were added to Pocket Edition in Update 0.9.0. They can trade in the PC and Console editions, though they will not be able to trade as for the 0.9.0 update, because of the degraded Al of the villagers. This may come within a future update.

Spawn
Villagers only spawn naturally in NPC Villages. They can also be spawned with spawn eggs in creative mode. They will never despawn even if the player wanders away from them, but they do leave the village if not closed unlike the PC version.

AI

 * Currently, every villager spawns in its specific house according to his occupation.
 * They currently do not trade, open/close doors or go inside their houses at night.
 * They will not stop from leaving the village if not trapped.
 * They seem to be able to 'socialize'. If a player comes close to one, and face its direction, the villager will turn and face the player, and 'talk' using the villager sounds.
 * They will do this as well if a different villager approaches.
 * They will run from Zombies and any other Hostile Mob and Neutral Mobs, except for wolves.

Occupations
Each villagers have professions, which are seen in both their robe color and building of residence.


 * Farmers: Have Brown Robes, live in small houses near farms
 * Librarians: Have White Robes, live in libraries
 * Priests: Have purple robes, live in cobblestone churches
 * Blacksmith: Have black robes, live in forges
 * Butcher: Have White apron, live in butcher shop
 * Generic-Villager:  Have Green robe, live in regular houses. (not added)

Trivia

 * Villagers have degraded mob AI, which means no trading.
 * Villagers are the only mobs that can open doors (not in PE currently).