Skip to content
ShapeCraft

Roof Generator

Java & BedrockNew

Put 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

blocks

The walls' outside width; the overhang is added outside.

blocks
blocks

Roof footprint 11 × 15. Build roof layer 1 level with the top layer of your walls.

Pitch (rise : run)

Classic 45°: one stair per row.

Presets

Fill

Thickness

Just the stairs and slabs — the underside shows their steps.

Roof material

Spruce

Stairs and slabs of this material (planks or the full block where a column needs one).

Trim

None

A contrasting material for the ridge and/or the edges (eaves, gable verges, hip lines).

Under-roof beams

Spruce Log
blocks

0 = no beams.

Exposed timber inside the roof: tie beams and a ridge beam.

Chimney

Bricks
blocks

0 = no chimney.

A square chimney through the roof.

Gable end block

Spruce Planks

Fills the triangular gable walls.

Blocks
215
3×64 + 23
Size
11×15
6 tall · W × L
Layer 1/6
48
blocks in this layer

Layer view

bottomLayer 1 of 6 · Y 0 · 48 blockstop
Major lines
Draw
Stair: arrow = facing (look that way to place it), shaded = tall halfBottom slabTop slabZoom in to see the hints.

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.

  1. 2
  2. 11
  3. 2
  4. 2
  5. 2
  6. 2
  7. 2
  8. 2
  9. 2
  10. 2
  11. 2
  12. 2
  13. 2
  14. 11
  15. 2

Layers

6 total
Materials for

Materials

215
blocks
4
stacks
0.1
shulkers
  • 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).

WorldEdit
//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.

All tools →