This article is about the mob found in villages. Villagers are intelligent human passive mobs that the player can trade with. Villagers wear clothing according to one of six professions, and many of these professions are subdivided into various careers. Villagers spawn inhabiting their villages, which spawn in several biomes such as minecraft crafting patterns, forests, savannas, deserts and taigas.
A priest villager and priest zombie villager spawn locked up in the basements of igloos, under the carpet of the floor. In Bedrock edition, the Villager and Zombie Villager inside igloo basements have random professions instead of always being priests. Villagers will breed autonomously, but need doors and need to be willing in order to spawn baby villagers. After exactly 20 minutes, the baby villager will grow up to an adult. See this section for more information. Villagers will spawn if a player uses a splash potion of weakness on a zombie villager and then feeds it a regular golden apple. It will then shake and turn into a villager within 2-5 minutes.
During the change, the zombie villager can still burn in the sun. Zombie villagers also spawn naturally in the Overworld in the same conditions as a normal zombie. Illagers are hostile villager-like mobs that spawn in woodland mansions. There are 3 kinds: vindicators, evokers and illusioners. Illagers are considered to be outcasts from villages.
Witches are hostile villager-like mobs which spawn in the Overworld according to the usual mob spawning rules. They can also spawn exclusively in witch huts, or spawn from a villager struck by lightning. NPCs are villager-like mobs in Education Edition. Villagers do not drop anything when they die.
They do not drop experience points. Upon spawning, villagers will leave their homes and begin to explore the village. Generally, they wander aimlessly inside the village during the day. They may go indoors or outdoors. Occasionally, two villagers may stop and turn to look at each other, in a behavior called socializing, in which they will stare at another villager for 4-5 seconds at a time. In Bedrock Edition, villagers do not stop continuously in front of players. They will also sprint away if the player attacks them.
Villagers, like other mobs, will find paths around obstructions and will avoid some harmful blocks and walking off cliffs. However, in crowded situations it’s possible for one villager to push another off a cliff or into harm. At night or during rain, villagers will run inside, closing doors behind them, and staying indoors until morning. In the morning they will head outside and resume normal behavior. Villagers will run away from zombies, vindicators and vexes within 8 blocks, and evokers within 12 blocks. If a villager finds itself outside the village boundary, or a villager without a village detects a village boundary within 32 blocks, it will move quickly back within the boundary. A villager taken more than 32 blocks away from its village boundary will forget the village within about 6 seconds.
Whether in a village or not, a villager is never prone to despawning. Villagers cannot open trapdoors, fence gates, or iron doors. There is evidence that villagers are prone to overcrowding certain areas of a village while leaving other areas completely empty. It also tends to prefer doors with fewer villagers nearby, however «nearby» in this case is only 1. 5 blocks and, when moving inside, villagers prefer to move 2. 5 blocks inside when the inside is to the south or east and therefore will be out of range of this check. Villagers have eight hidden inventory slots, which start empty whenever the villager is spawned.