Minecraft – How is the straight line drawn

minecraft-java-edition

The wiki article for 'doors' in a village in refrence to population concerns states that the inside blocks have to be more than the outside blocks, in a straight line 5 blocks long. Is that line parallel to the closed door's facing or perpindecular to it?

enter image description here

Best Answer

The line is perpendicular to the closed door's facing, or in other words, the line is perpendicular to the wall. It goes 5 blocks inwards and 5 blocks outwards.