Free · In your browser · Java Edition

Minecraft Maze Generator

Design a maze here. Build it in your world. Choose the size and materials, download your data pack, and follow the pictures below.

From download to your Minecraft world

Your maze

↑ North
Your maze
1 square = 1 block · top view● Entrance ● Exit

Footprint

61 × 61

Wall blocks

3,957

Your ZIP includes the build function, instructions, a block blueprint and a separate solution. Installing it alone does not build anything.

Advanced: place the .mcfunction in an existing data pack at data/maze_custom/function/build.mcfunction, then run /function maze_custom:build. Use the ZIP for the guided installation below.

Building replaces the floor and everything inside this footprint up to the wall height. Try a new Creative world first, or back up your existing world. There is no undo.

01 → 05

From download to your Minecraft world

Five steps. No mods required. Start with a flat area in the Overworld; a Creative Superflat world is easiest.

Java world · 26.3
CreativeON
Allow Commands / CheatsON
Step diagram — game menus vary by version and language.
1

Prepare a Java world

Open the Java version selected above. Create a Creative world, enable Allow Commands (called Allow Cheats in older versions), and choose Superflat if you want a clear building site. For a saved world, select it in Singleplayer, then Edit → Open World Folder.

Your maze
Java 26.3.zip
Step diagram — game menus vary by version and language.
2

Make your maze and download

Set the maze width and depth, then press Update maze. Check the footprint in blocks. Download the ZIP for your exact game version. Choose Another maze to change the route; materials and wall height keep the same route.

Your world folder
datapacks/
maze_43c20ef0-java-26.3.zip
Step diagram — game menus vary by version and language.
3

Put the ZIP inside datapacks

Save and quit the world. Open its world folder and place the downloaded ZIP directly inside datapacks; create that folder if necessary. Keep the ZIP intact. If your browser unpacked it, use the folder containing pack.mcmeta directly, without an extra folder around it.

/reload

/datapack list enabled

maze_43c20ef0

Step diagram — game menus vary by version and language.
4

Load and check the data pack

Reopen the world. Press T and run /reload, then /datapack list enabled. You should see your maze pack listed. If it is missing, check the selected version and make sure the ZIP is inside this world’s datapacks folder, not resourcepacks.

Stand here · northwest
● Stand here · northwestEast · +XSouth · +Z
Step diagram — game menus vary by version and language.
5

Stand at the corner and build

Stand at ground level on the northwest corner of the intended footprint. The maze extends east (+X) and south (+Z), regardless of where you face. Check coordinates with F3; on some laptops use Fn + F3. Copy the build command below, paste it into chat and press Enter. After building, you are moved to the green entrance facing south. The floor is one block below your feet.

Build command for this download · Java 26.3

Need a hand?

Does this work on Bedrock, mobile or console?

The data pack is for the listed Java Edition releases. For Bedrock, mobile and console, download the block blueprint and use it as a manual building plan. A Bedrock import package is not available.

The game says “Unknown function”. What now?

Check your exact Java version, run /reload, and look for the pack in /datapack list enabled. The ZIP must contain pack.mcmeta at its root. Copy the command for the ZIP you installed; changing settings creates a different command. Check the game log if the pack still fails to load.

Why does it say the area is not loaded?

The tool checks the whole footprint before changing any blocks. Use a smaller maze or increase render distance until the entire area is loaded, then run the command again. The tool does not force-load chunks or change game rules.

Can I change the size without changing the design?

Path width, wall thickness, height and materials retain the maze’s route. Changing the number of cells or layout changes the route. Keep the share link to reproduce the complete configuration.

Can I remove the maze or restore my old build?

The tool cannot restore overwritten terrain. Restore a world backup to recover it. Before building, leave the full footprint clear and stay within the Overworld build height. Tall terrain above the walls is not cleared.

An independent tool. Not an official Minecraft product or endorsed by Mojang or Microsoft.

Version information from Minecraft’s official release notes: 26.3 · 1.21.9 · 1.21.4 · 1.21