Minecraft maze generator

Building

Seeded mazes with plans and /place templatesLearn more

A maze for a mini-game or quest: choose size, walls, and floor — we'll show the top view, calculate blocks, and generate a template that can be placed with the /place command.

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

Scale

From 4 to 40 blocks on each side. Two-block corridor to allow two players to split.

Blocks

Seed

Result

Example · sid 260321
Scale
25 × 4 × 25
Blocks
1633
Download the data pack

Place a labyrinth

/place template juxmc:maze ~ ~ ~

What you'll need

How to use the result

  1. Place the datapack in the world

    Place the archive in world/datapacks, then /reload.

  2. Stand in the corner

    The maze will spawn from your feet east (+X), south (+Z), and upward — 25 × 25 blocks. Entrance from the north, exit from the south.

  3. Place by command

    /place template juxmc:maze ~ ~ ~. All chunks under the labyrinth must be loaded — stand by.

What to know about mazes

  • Exit path one. A maze with no rings or cut corners: there is exactly one path between any two cells.
  • Seed — a labyrinth. Same sid and size produce the same layout, so you can share a page link instead of a file.
  • Cannot jump over two-block walls. Players jump slightly more than one block high, but in Survival mode they can place blocks to climb the walls. Add a glass roof to prevent this.
  • Data pack for 26.3. Template .nbt uses the format written by the selected version. Testing confirmed that 1.21.11 places it as an empty structure. For older versions, follow the blueprint and material list, which are version-independent.
  • Size is in blocks, not cells. Each maze cell includes a corridor and a wall. A 12×12-cell maze occupies 25×25 blocks with one-block corridors, or 37×37 with two-block corridors.

Round walls and domes will be calculated. generator circles creates an image from blocks — pixel art. Filling a large area will help generator /fill.

Frequently asked questions

How to build a maze in Minecraft?

Generate a blueprint, count blocks, and place a template with the /place template command or build from the blueprint above. The page will collect both.

What size should the maze be?

For a minigame, try 10–15 maze cells in each direction. With one-block corridors, that occupies 21–31 blocks per side, including walls.

How to prevent mobs from walking along the walls of a maze?

Cover it with a glass roof: the sky is visible, but you cannot climb up or walk along the walls.