
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. 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. 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. 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). The area it scans is a cuboid with width and length = 33 blocks and height = 9 blocks, the villager being in the center. Only the 10 blocks inline with the door (and everything above them) matter.Įvery few seconds, Minecraft scans the area around villagers for houses. Blocks on the other sides, and blocks farther away than 5 blocks have no impact at all. 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.

So these blocks can be used to create a roof.Īpparently, the direction the door is facing also plays a role here. Stairs and single slabs prevent light propagation as well. For example, opaque blocks (like stone and dirt) completely prevent light from passing through, while water reduces the light level by 3. Non-transparent blocks are blocks which diminish sunlight when it passes through or completely stop it.

A roofed block has a non-transparent block anywhere above it (along the Y-axis). If both sides have the same amount of roofs or roofed blocks, the door won't be considered a house at all.Ī block can be a roof if the block itself is not fully transparent. If there are more roofs or roofed blocks on one side, this side will be the inside.

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). In Minecraft, a house is a wooden door which meets a certain condition: there must be a clear inside and outside.
