Villager

Villagers (AKA NPC Villagers) are mobs that were added to Minecraft Pocket Edition in Update 0.9.0. They cannot currently trade with the player due to degraded AI.

Spawn
Villagers only spawn naturally in NPC Villages upon generation, or by breeding. However, they can also be spawned with spawn eggs in Creative Mode, or by curing Zombie Villagers. They will never de-spawn, even if the player wanders away from them.

AI

 * Villagers spawn in various houses depending on their occupation. For example, a librarian will spawn in a Library.
 * Villagers 'socialise' with other villagers, doing so by facing the approaching villager and making villager sounds.
 * They also display 'angry' particles when attacked.
 * Villagers run away from Zombies.
 * Villagers can open and close doors.
 * Villagers go inside their houses at night, or when it starts raining.
 * A Villager may turn into a Zombie Villager if killed by a Zombie, depending on the difficulty.
 * Zombie Villagers can be cured back into normal villagers.
 * Villagers can harvest and plant crops.
 * Villagers can currently not trade with players.  Screenshot_2016-02-14-16-47-36-1-.png
 * Villagers can pick up certain items, such as Breads, Wheats, Seeds, Potatoes, Carrots and Beetroots.
 * After Update 0.14.0, Villagers will turn into Witches when struck by lightning.
 * Villagers have a chance to breed during day into their villages.

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


 * Farmers: Have Brown Robes, and live in small houses near farms. They can plant crops.
 * Librarians: Have White Robes, and live in libraries.
 * Priests: Have Purple Robes, and live in cobblestone churches.
 * Blacksmiths: Have Brown Robes with a black apron, and live in forges.
 * Butchers: Have Brown Robes with a white apron, and live in butcher shops.
 * Green villager: Have green Robes and cannot be found naturally. However, this type of villager is not in mcpe yet.

Trivia

 * Villagers are the only mobs that can open Doors.
 * Villagers can see invisible players.
 * Baby Villagers can also spawn in Villages. They have higher pitched sounds, and run faster than normal villagers.
 * Villagers were inspired by the shop keeper in Dungeon Master 2.
 * When Villagers are attacked by a player, they will make no attempt to escape.
 * However, a nearby Iron Golem may attack the player if the Iron Golem is within range of the villager.
 * Villagers are sometimes also known as testificates.
 * When there is a lot of villagers, they will start breeding and make baby villagers.

Video