Roof Generator
Java & BedrockNewPut a proper roof on any build. Choose gable, hip, pyramid, a round cone for towers, a dome, a gambrel barn roof or a flat roof with a parapet, enter your building's width and length (or the tower's diameter), pick the pitch and overhang, and get a roof made of real stair and slab blocks — with outer corners on the hips, a ridge cap, optional trim and filled gable ends — plus a layer-by-layer guide, a 3D preview and .litematic / .schem / .nbt export.
Roof type & size
The walls' outside width; the overhang is added outside.
Roof footprint 11 × 15. Build roof layer 1 level with the top layer of your walls.
Classic 45°: one stair per row.
Fill
Just the stairs and slabs — the underside shows their steps.
Roof material
SpruceStairs and slabs of this material (planks or the full block where a column needs one).
Trim
NoneA contrasting material for the ridge and/or the edges (eaves, gable verges, hip lines).
Under-roof beams
Spruce Log0 = no beams.
Exposed timber inside the roof: tie beams and a ridge beam.
Chimney
Bricks0 = no chimney.
A square chimney through the roof.
Gable end block
Spruce PlanksFills the triangular gable walls.
Layer view
Build guide · Y 0
Each row lists the runs of blocks from west to east and the gaps between them. Rows run north (−z) to south (+z). Click a row to highlight it.
- 2
- 11
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 11
- 2
Layers
6 totalMaterials
- Spruce Stairs150
- Spruce Planks50
- Spruce Slab15
Export
Pick the version you play. Newer versions load files made for older ones, but an older game places nothing from a newer file (no error).
//schem load roof-gable-spruce-9x13-o1-p1-1 //paste
WorldEdit has no roof command — download the .schem below, put it in plugins/WorldEdit/schematics (or config/worldedit/schematics) and paste it.
How it works
The footprint is your building plus the overhang on every side. Each cell gets a ring number counted in from the edge: for a gable roof the distance to the nearer long side, for hip and pyramid roofs the distance to the nearest side, and for cones and domes how many nested circles (the same pixel-perfect circles as the circle generator) contain it.
The pitch sets how fast the rings climb: 1:1 is one stair per row (the classic 45° roof), 1:2 climbs half a block per row with bottom and top slabs, and 2:1 or 3:1 stack stairs on full blocks for steep tower and barn roofs. A dome follows a quarter ellipse instead, with full blocks where it is steep and stairs and slabs where it flattens out.
Every stair faces up the slope — towards the ridge, or towards the centre of a cone — and the corners join exactly as Minecraft joins them: outer corners where hips meet and inner corners round the rings of a cone. Cells on the ridge with no up-slope direction get a slab cap. Hollow roofs are a sealed shell; solid roofs fill everything underneath.
To fit a tower, use the cylinder's diameter as the roof diameter and an overhang of 1: the ring above the wall then sits on the wall and the outer ring hangs over it. The tool tells you which roof layer to build level with the top of your walls. Step through the layers, follow the arrows (look that way while placing a stair) or export and paste the whole roof.
Under the hood
- Footprint
- (width + 2·overhang) × (length + 2·overhang)
- Ring top (half blocks)
- 1:2 → i + 1 · 1:1 → 2(i + 1) · 2:1 → 4(i + 1) · 3:1 → 6(i + 1)
- Roof height
- 1:1 gable on width W → ⌈W / 2⌉ layers (W = width + 2·overhang)
- Dome profile
- top(i) = 2·H·√(1 − (r − i − ½)² / r²), H = r × (½, 1, 1½, 2)
- Stair state
- spruce_stairs[facing=east,half=bottom,shape=outer_right] — facing = up-slope
FAQ
How do I make a roof in Minecraft?
Measure the outside of your walls, enter the width and length, choose gable (two slopes) or hip (four slopes) and an overhang of 1. Build the roof from its bottom layer up: each row of stairs faces up the slope, so look towards the ridge when you place them. Fill the triangular gable ends with planks. The exported schematic pastes the finished roof.
How do I make a cone roof for a round tower?
Choose Cone, set the diameter to your tower's diameter (the same number you used in the cylinder generator) and an overhang of 1. Pick a steep pitch — 2:1 or 3:1 — for a pointed wizard or fairy-tale roof, 1:1 for a squat cap. Build the layer the tool names level with the top of the tower wall.
What is the difference between a gable and a hip roof?
A gable roof has two slopes meeting at a ridge, with open triangles (gable ends) at both ends that you fill with a wall. A hip roof slopes down on all four sides — the corners where the slopes meet are the hips, made of outer-corner stairs. A pyramid roof is a hip roof on a square building, meeting at a single point.
What pitch should my Minecraft roof have?
1:1 (one stair per block) is the standard look and suits most houses. Use 1:2 (slabs) for wide buildings, Japanese or Mediterranean styles, where a 45° roof would be huge. Use 2:1 or 3:1 for towers, barns and steep medieval roofs.
How do I make a barn roof or a modern flat roof?
Choose Gambrel (barn) for the classic barn shape: steep 2:1 slopes up to half way, then shallow slab slopes to the ridge, with the gable ends filled. Choose Flat + parapet for modern builds: one layer of full blocks with a low wall round the edge — pick a contrasting trim material to colour the parapet.
Does it work in Bedrock Edition?
The blueprint, build guide and material list work in both editions — stairs facing north, east, south or west mean the same in Bedrock, and Bedrock joins corners the same way. The “Bedrock commands” export writes an .mcfunction with Bedrock block names and states (weirdo_direction and upside_down_bit for stairs, vertical_half for slabs) for a behavior pack. The .litematic, .schem and .nbt files are Java Edition only.
Why do some stairs show as corners?
Where two slopes meet, Minecraft turns stairs into outer corners (one quarter tall) or inner corners (three quarters tall) depending on their neighbours. The generator works out the same corner shape the game would, so the schematic pastes exactly as it will look in-game.
Related tools
Tower Generator
Minecraft tower generator: round walls, a spiral staircase and a cone, dome or battlement roof in one build, with a material list, 3D view and schematic.ShapesCylinder, Tube & Cone Generator
Minecraft cylinder and cone generator: round or elliptical tubes, cones and step pyramids, hollow or solid, with layer guides, 3D preview and schematics.ShapesSpiral Staircase Generator
Minecraft spiral staircase generator with real stairs and slabs: any radius and height, centre column, railings, landings, 3D preview and schematic export.ShapesSphere, Dome & Ellipsoid Generator
Minecraft spheres, domes and ellipsoids up to 256 blocks with layer-by-layer blueprints, a 3D preview, per-layer block counts and .litematic/.schem export.ShapesCircle, Ellipse & Star Generator
Minecraft circle generator: pixel-perfect circles, ellipses, stars and arcs up to 512 blocks, with a row-by-row build guide, block counts and schematics.ShapesWall Pattern & Gradient Block Mixer
Mix 2–8 Minecraft blocks into textured walls: dithered gradients, random mixes, noise, bricks and stripes, with exact block counts and schematic export.Pixel & Map ArtBlock Palette Generator & Color Matcher
Find the Minecraft blocks closest to any colour, build block gradients, pull a palette from an image or use 20+ curated themes, with survival filters.Pixel & Map Art