Minecraft wiki entry for Roof_construction_guidelines, associated text: When building on a slope, it is probably simplest to level the area for each building section separately, then build. For the roofs, the common choices are either to give each elevation its own separate section of roof, or to adjust the height of the shared walls to support a single unified roof.