Minecraft Superflat Generator
Design your superflat world layer by layer and copy the settings. For Java you get the two lines for server.properties; for Bedrock you get the flat-world layer data. We tested both on the official Java 26.3 and Bedrock servers: every layer, the biome and the empty air above matched.
| # | Block | Thickness | Actions |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 |
Layer 1 is the bottom, at Y -64 in Java 1.18+. The last layer is the top.
level-type=minecraft\:flat
generator-settings={"layers":[{"block":"minecraft:bedrock","height":1},{"block":"minecraft:dirt","height":2},{"block":"minecraft:grass_block","height":1}],"biome":"minecraft:plains","features":false,"lakes":false,"structure_overrides":["minecraft:villages"]}Put these two lines in server.properties before the world is created (delete the old world folder first). The Java server on 26.3 builds exactly these layers.
How to use the superflat generator
Pick the edition
Choose Java or Bedrock first — the two editions store flat worlds differently.
Stack your layers
Start from a preset or add layers from the bottom up, choosing a block and a thickness for each.
Set biome and structures
Pick the biome. On Java, choose which structures and features may generate.
Copy the output
Paste the Java lines into server.properties, or the Bedrock layer data into your world, then create the world.
How to make a superflat world in singleplayer
- Java: Create New World → World tab → World Type Superflat → Customize. Use Presets to pick one of nine built-in presets or paste a preset code. Leave Generate Structures on if you want villages.
- Bedrock: Create New World → Advanced tab → turn on Flat world and pick a preset. Bedrock has no menu for custom layers; custom layers need an edited
FlatWorldLayersvalue in level.dat.
The game's nine Java presets are Classic Flat, Tunnelers' Dream, Water World, Overworld, Snowy Kingdom, Bottomless Pit, Desert, Redstone Ready and The Void.
How superflat layers work
A superflat world is built from a list of layers, bottom to top. Each layer has a block and a thickness. The first layer sits at the bottom of the world, at Y -64 in current versions, and the last layer is the surface. Everything above the last layer is air. A world has room for 384 blocks (Y -64 to 319), so the total thickness of your layers cannot be larger than that.
Popular layer setups
| Setup | Layers (bottom to top) | Good for |
|---|---|---|
| Classic | 1 bedrock, 2 dirt, 1 grass block | Building, survival from scratch |
| Tunnelers' Dream | 1 bedrock, 230 stone, 5 dirt, 1 grass block | Digging, caves and mining |
| Redstone ready | 1 bedrock, 3 stone, 2 sandstone, 1 sand | Redstone and technical builds |
| Water world | 1 bedrock, 60 stone, 3 sand, 4 water | Ocean builds |
| Void | 1 air | Skyblock and map making |
These are our own presets. Change any layer after you load one.
What generates in a superflat world?
| Setting (Java) | Structures |
|---|---|
| Default (no preset) | Villages and strongholds |
| Classic Flat preset | Villages only |
| Overworld preset | Plains features (no dungeons), pillager outposts, villages, strongholds, mineshafts, ruined portals |
| Bedrock flat world | No features or structures in any preset |
The default surface is at Y −60 (1 bedrock, 2 dirt, 1 grass block). Because it is so low, slimes spawn often on the surface of a default superflat world — a common surprise. The Nether and the End still generate normally.
Java and Bedrock are different
Java Edition reads the flat world from the generator-settings line in server.properties. The generator writes that JSON for you, including the biome, the Features and Lakes switches and the structure sets (villages, strongholds and so on). Bedrock Edition stores a list of block layers and a numeric biome id instead, and has no structure toggles in the flat world data. Pick the edition at the top and copy the matching output.
How we checked the output
We started the official Java 26.3 server with the generated settings and tested every layer with /execute if block, then checked the biome and the air above the top layer: 9 of 9 checks passed. For Bedrock we put the generated layer data into a flat world on the official Bedrock Dedicated Server and tested every block with /testforblock: 8 of 8 passed. The numeric Bedrock biome ids are the long-standing ids; we did not test the biome on the Bedrock server.
Tips for flat worlds
Keep bedrock as layer 1 unless you want a void world, because without it players can fall out of the world. Turn Features off for a perfectly clean surface, and Lakes off to stop water pools in the grass. For a village start, keep the Villages structure on and use a plains or desert biome. Delete the old world folder before you start the server with new settings, because the generator only runs when the world is created.
Tips for good flat worlds
- Building: a thicker dirt layer stops creepers blowing holes down to bedrock.
- Redstone: a sandstone or stone surface keeps mobs from spawning on grass and gives a clean grid.
- No slimes: raise the surface by adding stone layers so it is higher in the world, or use Peaceful for pure building.
- Void worlds: a single air layer gives an empty world — place a block with commands to start.
For round builds on your flat world, try the circle generator; for block IDs to use in layers, see the block compendium.
Frequently asked questions
How do I make a superflat world in Java?
Build your layers here, copy the two lines into server.properties, delete the old world folder and start the server. The world is created with your layers.
How do I make a superflat world in Bedrock?
Create a new world, choose the Flat world type and use the layer list from this page to build the same layers in the editor. The JSON shows the exact data Bedrock stores.
What is the maximum height of a superflat world?
A world is 384 blocks tall, from Y -64 to 319, so your layers can add up to 384 blocks.
Can I have structures in a superflat world?
On Java, yes: turn on the structure sets you want, such as villages or strongholds. The Bedrock flat data used here has no structure switches.
Why is my world not flat after changing the settings?
The settings only apply when the world is created. Delete the old world folder and start again.
Why are there so many slimes in my superflat world?
The default superflat surface is very low (Y −60), so slime-chunk spawning applies on the surface. Add layers to raise the surface or play on Peaceful.
Do villages spawn in superflat?
Yes in Java — villages generate by default and with the Classic Flat preset, as long as Generate Structures is on. Bedrock flat worlds have no structures.
Can I add structures to a Bedrock flat world?
No. Bedrock flat worlds never generate features or structures, whatever preset you choose.