From Minecraft Wiki
Jump to: navigation, search
A Superflat world.

Superflat (sometimes called Flatlands) is a world type replacing the normal varied terrain of the Overworld with customizable layers.

On a classic superflat world, the terrain consists of one layer of bedrock, two layers of dirt, and one layer of grass; the surface of the world is completely flat and at height y = 4, with the exception of NPC villages and terrain features, if they are enabled. Since the height limit (256) is unchanged, there is then slightly less than one-third more vertical height available to build above-ground structures as compared to a normal world. Mobs spawn as normal, including Slimes; however, there is no "Void Fog" as would ordinarily be caused by being close to the bottom, even for areas that are completely shielded from sunlight, whether in Survival or Creative mode.

Because of there being chests in villages, and villages frequently spawning near the spawn point, it is possible to use Superflat as a survival challenge map. However, the high amount of slimes makes this extremely difficult to an inexperienced player, if playing on any other than peaceful difficulty.

The Nether and the End both generate normally (except in the console edition where the nether is flat). In order to create a Superflat world in SMP, the level-type flag in must be FLAT, instead of DEFAULT.

In SMP, once a world is created, the fields have no effect on chunk generation. Instead, just like in SSP, the level.dat fields for generatorName, generatorVersion, and generatorOptions are used instead. If you want to alter a world after initial creation, these are settings to change.


[edit] Customization

Upon selecting "Superflat" in the World Type box, a new button appears underneath labeled "Customize". The customize menu starts out with the "Classic Flat" preset of one layer of grass, two dirt layers, and then bedrock underneath. There are two buttons available to customize Superflats, which include the "Remove Layer" button, used for removing unwanted types of layers, and the "Presets" button, used for selecting any of eight currently available presets. If you can understand the preset code syntax you can still create presets of your own by entering the correct block IDs into the 'preset code box', where these changes can be previewed and applied. (Direct Customization is not available.) In addition, superflat worlds can have certain terrain features, besides villages, such as long grass, lakes, and strongholds, which can additionally be customized using the same code box for block layers. These changes also made tweaks to previous world codes, to include the new generation features.

[edit] Presets

Preset Layers Biome Structures Notes Preset code
Grid Grass Block.png Classic Flat 1x

Grass Block


Plains Villages Default 2;7,2x3,2;1;village
Grid Stone.png Tunneler's Dream 1x

Grass Block



Extreme Hills Strongholds
Abandoned Mineshafts
Subject to snowfall, due to height. 2;7,230x1,5x3,2;3;stronghold,biome_1,
Grid Water.png Water World 90x





Plains Underwater Villages
(As of 14w25a) Ocean monuments
Grid Dead Bush.png Overworld 1x

Grass Block



Plains Strongholds
Abandoned Mineshafts
Mimics the height of default world generation. 2;7,59x1,3x3,2;1;stronghold,biome_1,village,
Grid Snow (layer).png Snowy Kingdom 1x

Snow (cover)

Grass Block



Ice Plains None Villages will not generate because the biome is Ice Plains. 2;7,59x1,3x3,2,78;12;biome_1,village
Grid Feather.png Bottomless Pit 1x

Grass Block


Plains Villages 2;2x4,3x3,2;1;biome_1,village
Grid Sand.png Desert 8x




Desert Strongholds
Desert Villages
Desert Temples
Abandoned Mineshafts
Grid Redstone.png Redstone Ready 52x



Desert None 2;7,3x1,52x24;2;

Presets are shareable. As a preset is selected, a box on top of the screen has a code you are able to highlight and copy. Similar to how new worlds are shared through seeds, presets can be entered into this box to recreate someone else's preset.

[edit] Preset code format

At a future point there is expected to be some way of choosing block types merely by selecting them from a menu. For now, you must type in a correctly-formatted preset code.

The code is a string of numbers, semicolons, colons, commas, and lowercase "x"s. Each code has four main parts, divided by semicolons. These are:

  • a version number (used to allow preset codes to be shared even if the code format changes),
  • a list of one or more block IDs,
  • a biome ID
  • a list of structure generation options (may be completely empty)

The block list is a comma-separated list of block IDs, ordered from layer 0 up; if the entry for a given block has an "x", the number before the "x" is the number of layers to be generated, and the number after is the block ID. A block ID can be followed by a colon to specify a damage value.

Structure generation options (described below) may have additional parameters, for example "village(size=0 distance=9)".

Structure generation option Parameters Description Biome
village size
Means villages may be generated, provided they exist in that biome type.
size determines the size of the village (default is 1, normal worlds have this set to 0).
distance is the maximum distance between villages (minimum is 9, default is 32).
mineshaft chance Means mineshafts can be generated, even in midair.
chance determines how common mineshafts are (from 0.0 to 1.0, default is 0.01). Higher number, more common.
stronghold distance
Means strongholds can appear.
distance determines how far strongholds are from the spawn and other strongholds (minimum is 1.0, default is 32.0).
count is the number of strongholds that exist per world (default is 3).
spread determines how concentrated strongholds are around the spawn (minimum is 1, default is 3). Lower number, lower concentration.
biome_1 distance Means biome-specific features can be generated. This enables desert temples, jungle temples and witch huts.
distance for the maximum distance between features (minimum is 9, default is 32).
Desert (Hills),
Jungle (Hills),
dungeon None Dungeons will be generated, if possible. None
decoration None Causes plants, ores, and similar features to be generated according to the biome type. Stone, dirt, grass, sand, or mycelium are required for most features. None
lake None Means water lakes can be generated, sometimes with sand and sugar cane depending on biome. None
lava_lake None Means lava lakes can be generated. None

[edit] Preset code example

Consider the preset code 2;48,250x0,49,78:2;3;stronghold(count=7),village(size=0 distance=9),decoration,dungeon,mineshaft

It consists of the following elements:

  • 2 — version number.
  • 48,250x0,49,78:2 — comma-separated list of block IDs.
    • 48 — one layer of Mossy Cobblestone on layer 0.
    • 250x0 — 250 layers of air, from layer 1 to layer 250.
    • 49 — one layer of obsidian, on layer 251.
    • 78:2 — one layer of thicker-than-usual snow, on layer 252.
  • 3biome ID, in this case Extreme Hills.
  • stronghold(count=7),village(size=0 distance=9),decoration,dungeon,mineshaft — a comma-separated list of structures.
    • stronghold(count=7) — this will populate the world with seven strongholds at the default distance and spread. In this preset, these will appear in mid-air.
    • village(size=0 distance=9) — since Extreme Hills is an invalid biome for villages, this will do nothing.
    • decoration — biome-specific decoration.
    • dungeon — activates dungeons.
    • mineshaft — activates mineshafts at the default placement frequency. These will appear in mid-air as the preset contains 250 layers of air.

A block can also be repeated over multiple layers simply by repeating the block's ID, e.g. 20,20,20,20 would give the same result as 4x20.

The Player will spawn on the topmost solid layer, and will spawn under water or lava if there are layers of those above the topmost solid layer.

Note that there are several criteria that must be satisfied before some features can appear:

  • The biome number must be correct. For example, at present villages can only appear in biome numbers 1, 2, and 35, plains, desert, and savanna.
  • The correct structure code ('village', 'dungeon' etc.) must be present in the superflat string.
  • Structures must be turned on in the world settings. (This does not affect 'natural' objects such as trees, flowers, mushrooms, giant mushrooms. Obsidian pillars in the End also count as 'natural'.)
  • There must be suitable terrain for the structure to appear on or in. This applies to most features except for mineshafts and strongholds. Villages are a partial exception; they will not form in mid-air, but will form provided there is at least one solid block layer. If there is only 1 solid layer where they form the gravel roads will fall, trapping indoor villagers (unless it's a desert village since they have sandstone roads).

For example, to have an 'End' superflat world with obsidian pillars, the biome number must be 9, the superflat string must contain 'decoration', and the top surface block must be End Stone. In this particular case 'Structures' does not need to be turned on in the world options.

Attempting to use an incorrectly formatted preset code causes the game to default to the Classic preset.

Using almost any of the technical blocks will crash the game as they do not have item forms at all (which the preview needs).

[edit] Resources that can be found in a classic Superflat world

The resources below can always be found, regardless of the "Generate Structures" option.

Icon Id Name
Grass.png 2 Grass Block
Dirt.png 3 Dirt
Bedrock.png 7 Bedrock

The resources below can only be found if the "Generate Structures" option is enabled. These do not include trading with villagers.

Icon Id Name
Cobblestone.png 4 Cobblestone
Oak Wood Planks.png 5 Wood Planks
Water.png 9 Water
Lava.png 11 Lava
Gravel.png 13 Gravel
Wood.png 17 Wood
Black Wool.png 35 Wool
Double Stone Slab.png 43 Double Stone Slabs
Stone Slab.png 44 Stone Slabs
Bookshelf.png 47 Bookshelf
Torch.png 50 Torch
Wooden Stairs.png 53 Wooden Stairs
Chest.png 54 Chest
Crafting Table.png 58 Crafting Table
Crops.png 59 Wheat
Farmland.png 60 Farmland
Furnace.png 61 Furnace
Wooden Door.png 64 Wooden Door
Ladders.png 65 Ladder
Cobblestone Stairs.png 67 Cobblestone Stairs
Wooden Pressure Plate.png 72 Wooden Pressure Plate
Fence.png 85 Fence
Iron Bars.png 101 Iron Bars
Glass Pane.png 102 Glass Pane
Carrot (Block).png 141 Carrots
Potatoes (Block).png 142 Potatoes

Village chests may contain these items:

Icon Id Name
Sapling.png 6 Sapling
Obsidian.png 49 Obsidian

257 Iron Pickaxe

260 Apple
Diamond (Gem).png 264 Diamond
Iron Ingot.png 265 Iron Ingot
Golditm.png 266 Gold Ingot

267 Iron Sword

297 Bread

306 Iron Helmet

307 Iron Chestplate

308 Iron Leggings

309 Iron Boots

329 Saddle

[edit] Spawn

When making a flatland world, your spawn is never the same. The spawn is a 20x20 cube, despite your initial spawn.

[edit] Video

[edit] History

Official release
1.1 12w01a Added Superflat world type.
1.3.1 12w25a Slime spawning in Superflat is reduced.
1.3.1 Prior to 1.3.1, there was no consistent spawn point unless the player had slept in a bed; the player could respawn far from the previous spawning location without anything in sight. This may have been due to the lack of ground at the usual height of about 64.
1.4.2 12w36a By going into the level.dat and editing the generatorOptions line, the player can create custom Superflat worlds.
12w37a Added Superflat Customization GUI.
Comes with 7 presets: Classic Flat, Tunnelers' Dream, Water World, Overworld, Snowy Kingdom, Bottomless Pit (Broken in this version), and Desert.
In this version, the Add and Edit Layer features were not fully implemented, leaving their respective buttons grayed out.
12w39b The "Bottomless Pit" preset is fixed.
12w40a Regular structures (trees, ores, strongholds, etc.) can now be generated in this mode. The preset code version number is changed to "2" to reflect this.
A new preset, "Redstone Ready", is available, with 52 layers of sandstone, three stone, then one layer of bedrock, and has no generated features or structures.
The "Add Layer" and the "Edit Layer" buttons were removed.[1]
1.5.2 At some point, changes to stopped being looked at in SMP after the world was created. Equivalently, any data in the level.dat file overrides the values in This means that single player worlds can now be trivially moved to SMP. While confirmed in 1.5.2, this probably happened much earlier.
1.7.2 13w41a Previously, you could make the world out of a single layer of locked chests(code 2;95). Locked chest decay after a random amount of time, see block ticks for more information about this random despawn time. Placing Locked Chest gives less lag, since no entity's are being spawned, and block ticks occur anyway. However, in 13w41a they were removed, making this no longer possible.
13w36a Strongholds are no longer generated in the air.
1.8 14w08a Now uses named block IDs to input layers instead of numeric block IDs.[2]
Block ID/number of layers format changed from NumberxID to Number*ID.
Preset code version number changed to "3".
Pocket Edition Alpha
0.9.0 build 1 Added superflat world type.
Console Edition
TU5 Added superflat world type. Unlike the PC version, the Nether is also flat in this world type.

[edit] Issues

Issues relating to "Superflat" are maintained on the issue tracker. Report issues there.

[edit] Trivia

  • The volume of an entire Classic Flat world, not including villages, bonus chests, or air, is 3.6 million km3, and the world is composed of 3.6x1015 blocks.
  • NPC Villages spawn more frequently in Classic Flat worlds than in normal worlds, because the entire world generates as a Plains biome.
  • Slimes spawn in huge numbers in Classic Superflat worlds. This was because slimes spawn anywhere below layer 40, and in Superflat the entire world surface is only four blocks away from the bedrock layer.
  • You can create a empty void world using the preset code 2;0, which simply creates a layer of air. It also allows the moon and sun to be observed at noon and midnight respectively. However, you aren't able to build on it without a solid block present. To achieve this effect (and have blocks still placeable) you can do the following:
    • You could use the /setblock command /setblock ~ ~-1 ~ minecraft:stone to create a floating stone block in midair from which you can build. This is the most efficient and lag free way to create a floating block in midair, but is only possible when cheats are enabled.
    • You could turn on the "Bonus Chest" option under "More World Options" and place a block next to it using shift-click. This is another lag free way to create a floating block.
    • You could make the world out of a single layer of sand(code 2;12) or gravel(2;13). When you update a sand or gravel block by placing/destroying a block next to it, the entire ground will fall down, caused by a chain of updates. This however gives lots of lag, because of the many blocks being updated and the falling sand entity's being spawned and destroyed.
    • You could make the world out of a single layer of leaves(2;18). When you update the leaves by placing/destroying a block next to it, the leaves will decay away slowly, caused by a chain of updates. Completing the whole process takes an hour or so, depending on your render distance. This process can be repeated simply by updating a new leave block to restart the whole chaing. This method typically causes little lag.
  • The Enderdragon can spawn in a superflat map in the overworld in biome 9 (sky/end).
  • Since cloud height isn't affected by the world generation, clouds will be underground in the tunneler's dream preset.
  • In the "Overworld" preset, or any other that has ores and lava lakes enabled through customization, if the stone layers are removed, ores can spawn in the stone generated around lava lakes in the surface. Since removing stone brings the surface to less than sixteen blocks within bedrock, diamonds can be found at the surface around lava lakes, albeit very rare.
  • Villages can spawn in the wrong conditions (no ground to stand on/less than 2 layers), if the "village" structure generation option is set, and will always spawn at least 2 blocks above the void.
  • Using presets 2;7,2x3,2;2;village(distance=-10 size=100) (for desert villages) or 2;7,2x3,2;1;village(distance=-10 size=100) (for regular villages) will create a lot of villages tightly grouped together, houses may also spawn combined (or very rarely glitched).
  • In Minecraft 1.6.2, removing the 230 layers of stone included in the "Tunneler's Dream" preset will cause a huge network of mineshafts to generate above the ground (if the preset world seed was not edited).

[edit] Gallery

[edit] References