All games I found out about
Playable minecraft. Type your name, share the code and go for it.
https://fonts.googleapis.com/css?family=Roboto:400%2C400i%2C700%2C700i|Material+Icons,//www.planetminecraft.com/css/images.css?v=kvY01YpdGeO6piUUELHBCjnb2OQ3mBpD5hILR_LRS6XQGPFe,//www.planetminecraft.com/css/style.css?v=8TO8YAmk1k56C_kr8rpI74vm0NWnTDoGYZo61XIZQoUw0PRe,//www.planetminecraft.com/css/editor.css?v=Qrgv7doUrRE_70yLGGem1bHLQIr2FRO7zY8Ke41bchfgnvNe
GRID
https://fonts.googleapis.com/css?family=Roboto:400%2C400i%2C700%2C700i|Material+Icons,//www.planetminecraft.com/css/images.css?v=kvY01YpdGeO6piUUELHBCjnb2OQ3mBpD5hILR_LRS6XQGPFe,//www.planetminecraft.com/css/style.css?v=NfOeShM_SAMD-qSTgeNx7HakBxsQ9CevbbR9yB8Jpz6EqPNe,//www.planetminecraft.com/css/editor.css?v=Qrgv7doUrRE_70yLGGem1bHLQIr2FRO7zY8Ke41bchfgnvNe
GRID
https://fonts.googleapis.com/css?family=Roboto:400%2C400i%2C700%2C700i|Material+Icons,//www.planetminecraft.com/css/images.css?v=796FQyzIky6xnIL731bXFUIlF2piOuYKfJaCpbi8mP5QIN1e,//www.planetminecraft.com/css/style.css?v=qVKwTm-jBgczkPQWcVCVW17tHPdOHM136-Af4npXipvjk-Je,//www.planetminecraft.com/css/editor.css?v=1cRqyltTeCstb7s5PkI_Vn1aAyEhNX5DL9hERa5wYY5QIN1e
GRID
A NPC village is a set of one or more houses. For this tutorial, the following properties of villages are important:
You can see these values (and others) ingame by using Village Info (Mod). I highly recommend using it if you’re trying out new design, or if you just want to understand what’s going on with your village.
In Minecraft, a house is a wooden door which meets a certain condition: there must be a clear inside and outside. To determine the inside and outside, Minecraft compares the 5 blocks behind the door to the 5 blocks in front of it (all inline with the door). If there are more roofs or roofed blocks on one side, this side will be the inside. If both sides have the same amount of roofs or roofed blocks, the door won’t be considered a house at all.
A block can be a roof if the block itself is not fully transparent. A roofed block has a non-transparent block anywhere above it (along the Y-axis). Non-transparent blocks are blocks which diminish sunlight when it passes through or completely stop it. For example, opaque blocks (like stone and dirt) completely prevent light from passing through, while water reduces the light level by 3. Stairs and single slabs prevent light propagation as well. So these blocks can be used to create a roof.
Apparently, the direction the door is facing also plays a role here. Whenever you place a door, you’re looking at the front of it, i.e., the direction you’re facing is the one that matters. Blocks on the other sides, and blocks farther away than 5 blocks have no impact at all. Only the 10 blocks inline with the door (and everything above them) matter.
Here are some examples:
Note that there are no roof blocks above (off-screen). I put the torches there to make counting easier for you. They have no impact because they are not inline with the door.
As you know, doors consist of two blocks vertically. Both blocks are checked individually. If either level passes the house check, the door is considered a house.
Every few seconds, Minecraft scans the area around villagers for houses. The area it scans is a cuboid with width and length = 33 blocks and height = 9 blocks, the villager being in the center. This means that in order to add a house, a villager needs to be within 16 blocks of the door in both horizontal axes (x and z), and within 4 blocks vertically (y).
Houses are always scanned from bottom to top, so if the lower and upper level checks would lead to different insides and outsides, the lower level counts. There is one exception though: if the villager is exactly five blocks above the door when the door is scanned for the first time, the lower level won’t be checked at all.
Here’s an example:

On the top level, there are no roofs or roofed blocks on the left side, but one on the right side, so the inside should be on the right. However, on the bottom level, there are two roofs on the left, so in most cases, the inside is on the left.
When a door passes the check, it will be added to an existing village if the distance to the village center is at most 32 + |Village Radius| blocks (in other words, if the door is at most 32 blocks away from the village boundaries). If there is none, a new village will be created for the house. That’s why all houses in the screenshots up until now are technically villages, too.
Once a house is added to a village, a villager has to stay nearby to “refresh” it (range is the same as for adding houses: up to 16 blocks for both horizontal axes, and up to 4 blocks vertically). Otherwise, the house will be detached from the village after about 1 minute. If there are no other houses in the village, the village will be removed from the game as well.
When refreshing a house, it doesn’t matter if the house check fails. So when trying out house setups, make sure to destroy the door block after every change to force the game to check the door again. Since Minecraft 1.4, village data is stored in the savegame, meaning houses will not be rechecked after a restart. Walking out of range to unload their chunks will still reset them though. There is one exception: villages in the spawn area will not be reset this way because the area will always be loaded.
Although villagers wander around randomly, they usually stay within the village boundaries. They are also able to locate villages whose boundaries are up to 32 blocks away, and will try to reach them quickly.
During night time or downfall, villagers try to find shelter. Usually, they pick the least occupied house within 16 blocks. If there is none, they pick the closest house. However, many players are observing that villagers are clumping up in one single house. I think this happens because they usually start looking for shelter at about the same time, before any houses are occupied. In this case, they’d pick the house that was first attached to a village (which is random after restart).
After picking a house, they try to reach the position two blocks behind the door (inside the house). They will also move to a different house every now and then, but only if there is an exit that doesn’t involve opening a door (they aren’t able to do so at this point).
When two villagers are close to each other, there is a chance that they start mating and give birth to a baby villager. They can only breed if they are inside a village and if the population is below 0.35 * |Amount of Houses| (population limit), i.e., you need roughly three houses per villager.
When villagers are killed by mobs, or by a damage source that isn’t related to entities (e.g. lava, drowning) while a player is nearby, the whole village won’t breed for 3 minutes.
For breeding, a villager is considered inside the village if he is inside its boundaries. But to count villagers, Minecraft uses a cuboid with width and length = 2 * |Village Radius| and height = 8 blocks. Here’s an illustration of the resulting zones:


https://fonts.googleapis.com/css?family=Roboto:400%2C400i%2C700%2C700i|Material+Icons,//www.planetminecraft.com/css/images.css?v=evs0v6nXiBxarQoe-tk_g4R3Xjy23WXL_1uHEsS1he0Zn6le,//www.planetminecraft.com/css/style.css?v=tgVYZb8a3SmGKHgrLZ3f6Oq3m6wgz-MHoJMa54idwvZlCtFe,//www.planetminecraft.com/css/editor.css?v=9hXWOC6YsvgnY1N6lrP6Ill4i5WPlx6JFJfVwQ94UY7P_M9e
GRID
https://fonts.googleapis.com/css?family=Roboto:400%2C400i%2C700%2C700i|Material+Icons,//www.planetminecraft.com/css/images.css?v=evs0v6nXiBxarQoe-tk_g4R3Xjy23WXL_1uHEsS1he0Zn6le,//www.planetminecraft.com/css/style.css?v=tgVYZb8a3SmGKHgrLZ3f6Oq3m6wgz-MHoJMa54idwvZlCtFe,//www.planetminecraft.com/css/editor.css?v=9hXWOC6YsvgnY1N6lrP6Ill4i5WPlx6JFJfVwQ94UY7P_M9e
GRID