Superflat

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

Superflat (Flat in Bedrock Edition) is a world type replacing the normal varied terrain of the Overworld, with customizable layers in Java and Legacy Console editions.

Structure[edit]

In a classic (default) Superflat world, the terrain consists of one layer of bedrock, two layers of dirt, and one layer of grass. Since the entire world is a plains biome by default, villages will generate relatively frequently. In Bedrock Edition and New Nintendo 3DS Edition, however, villages will not generate in Flat worlds.

The surface of the world is completely flat and at height y=4, with the exception of villages and other structures if they are enabled. Since the height limit (256) is unchanged, there is almost one-third more vertical height available to build above-ground structures as compared to a normal world. Mobs will spawn as normal. Because of the low altitude of the world, slimes spawn fairly frequently.

When making a Superflat world, the player will spawn on the topmost solid layer, within a 20x20 cube, and may spawn under water or lava if there are layers of those above the topmost solid layer.

Superflat version of the Nether in the Legacy Console Edition

Access to other dimensions[edit]

Superflat worlds allow the player to access the Nether by building a nether portal in the usual way. In Java and Bedrock editions, the Nether generates normally; in Legacy Console Edition, the Nether is flat like the Overworld.

In Java and Legacy Console editions, superflat worlds also allow the player to access the End, which generates as in a normal world, by finding a stronghold or by creating an end portal in Creative .

Multiplayer[edit]

In order to create a Superflat world in a multiplayer server, the level-type flag in server.properties must be FLAT, instead of DEFAULT.

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

Customization[edit]

Information icon.svg
This feature is exclusive to Java Edition and Legacy Console Edition.
Superflat Button.png

In Java and Legacy Console Editions, the structure and content of a Superflat world can be customized. Flat world customization is not available for Bedrock Edition; it always consists of a layer of bedrock, two layers of dirt, and a layer of grass block (even when the Seed Picker is used).

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 Superflat worlds, 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 the player can understand the preset code syntax, they can create presets of their own by entering valid information 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 tall 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.

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

In Bedrock Edition it is not possible to customize flat worlds ingame. However, it is possible to customize flat world layers using external editors by modifying the level.dat's FlatWorldLayers.

Presets[edit]

Preset Layers Biome Structures Notes Preset code
 Classic Flat 1x
2x
1x
Grass Block
Dirt
Bedrock
Plains Villages Default minecraft:bedrock,2*minecraft:dirt,minecraft:grass_block;minecraft:plains;village
 Tunneler's Dream 1x
5x
230x
1x
Grass Block
Dirt
Stone
Bedrock
Mountains Strongholds
Dungeons
Abandoned Mineshafts
minecraft:bedrock,230*minecraft:stone,5*minecraft:dirt,minecraft:grass_block;minecraft:mountains;stronghold,biome_1,decoration,dungeon,mineshaft
 Water World 90x
5x
5x
5x
1x
Water
Sand
Dirt
Stone
Bedrock
Deep Ocean Ocean Monuments minecraft:bedrock,5*minecraft:stone,5*minecraft:dirt,5*minecraft:sand,90*minecraft:water;minecraft:deep_ocean;biome_1,oceanmonument
 Overworld 1x
3x
59x
1x
Grass Block
Dirt
Stone
Bedrock
Plains Strongholds
Villages
Dungeons
Abandoned Mineshafts
Mimics the height of default world generation. minecraft:bedrock,59*minecraft:stone,3*minecraft:dirt,minecraft:grass_block;minecraft:plains;stronghold,biome_1,village,decoration,dungeon,lake,mineshaft,lava_lake
 Snowy Kingdom 1x
1x
3x
59x
1x
Snow
Grass Block
Dirt
Stone
Bedrock
Snowy Tundra Igloos Villages will generate as the biome is snowy tundra.‌[Legacy Console Edition only] minecraft:bedrock,59*minecraft:stone,3*minecraft:dirt,minecraft:grass_block[snowy=true],minecraft:snow;minecraft:snowy_tundra;biome_1,village
 Bottomless Pit‌[Java Edition only] 1x
3x
2x
Grass Block
Dirt
Cobblestone
Plains Villages Allows Survival access to the Void, due to the replacement of bedrock with cobblestone. 2*minecraft:cobblestone,3*minecraft:dirt,minecraft:grass_block;minecraft:plains;biome_1,village
 Desert 8x
52x
3x
1x
Sand
Sandstone
Stone
Bedrock
Desert Strongholds
Desert Villages
Desert Temples
Dungeons
Abandoned Mineshafts
Sandstone and Stone layer amounts are reversed from Default worlds due to MC-105285. minecraft:bedrock,3*minecraft:stone,52*minecraft:sandstone,8*minecraft:sand;minecraft:desert;stronghold,biome_1,village,decoration,dungeon,mineshaft
 Redstone Ready 52x
3x
1x
Sandstone
Stone
Bedrock
Desert None minecraft:bedrock,3*minecraft:stone,52*minecraft:sandstone;
 The Void‌[Java Edition only] 1x Air The Void None Spawns the player on a stone platform, due to falling into the void when playing in survival mode. minecraft:air;minecraft:the_void;decoration

Biome: The Void[edit]

The Void
The Void.png
Type

Neutral

Rarity

N/A

Temperature

0.5

Blocks

Cobblestone
Stone

Data value

dec: 127 hex: 7F bin: 1111111

Biome ID
the_void

The Void is a completely empty biome that generates only a single structure: a 33×33 stone platform with a single block of cobblestone in the center. No mobs (passive or hostile) can spawn without spawn eggs, monster spawners or commands. Can only be accessed through The Void superflat preset or Buffet world selection. If generated using Buffet, it will be a completely barren and featureless world comprised out of stone, void air and maybe water and bedrock.

Preset code format[edit]

The preset code is a string of numbers, semicolons(;), colons(:), commas(,), and asterisks(*). Each code has three main parts, divided by semicolons. They are:

  • a list of one or more block IDs.
    • 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 "*", the number before the "*" is the number of layers to be generated, and the number after is the block ID.
    • A block can also be repeated over multiple layers simply by repeating the block's ID, e.g. minecraft:glass,minecraft:glass,minecraft:glass,minecraft:glass would give the same result as 4*minecraft:glass.
  • a valid biome ID
  • (optional) a list of structure generation options
    • Structure generation options (described below) may have additional parameters, for example "village(size=0 distance=9)". The order in which they are specified may alter the results where they overlap or are incompatible.[1]
    • It is important to remember that multiple parameters are separated by spaces, rather than commas or semicolons.

Structure generation options[edit]

Structure generation option Parameters Description Biome
village size
distance
Generates villages, provided they exist in that biome type. Extremely large size values and low distance values will generate many villages tightly grouped together
size determines the size of the village (default is 1, normal worlds have this set to 0, maximum is 65535).
distance is the maximum distance between villages (minimum is 9, default is 32).
Plains,
Desert,
Savanna,
Taiga
mineshaft chance Generates abandoned mineshafts. Note that they will generate in midair if no terrain is present to cover them.
chance determines how common mineshafts are (from 0.0 to 1.0, default is 0.01). Higher number, more common.
All
stronghold distance
count
spread
Generates strongholds.
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.
All
biome_1 distance Generates biome-specific features. This enables igloos, jungle temples, desert pyramids, or witch huts.
distance for the maximum distance between features (minimum is 9, default is 32).
NOTE: desert pyramids (and potentially other structures) are not generated solely by biome_1, and "desert_pyramid" must be added to the syntax. BOTH "biome_1" AND "desert_pyramid" must be added to the syntax for pyramids to generate. Putting "desert_pyramid" in your syntax without "biome_1" WILL cause issues, and attempting to /locate a desert pyramid without biome_1 enabled will effectively brick your world. This applies to 1.14+ and potentially earlier game versions. This option may also be necessary with igloos, jungle temples, woodland mansions, ocean monuments or witch huts, requires testing.
varies
dungeon None Dungeons will be generated, if possible. All
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. All
desert_pyramid ? Generates desert pyramids. Desert (Hills)
lake None Generates water lakes, sometimes with sand and sugar cane depending on biome. All
lava_lake None Generates lava lakes, with stone surrounding them. If all stone layers are removed in a preset that enables lava lakes, ores can generate in the stone around lava lakes, given the proper altitude. All
fortress ? Generates nether fortresses. Nether
mansion ? Generates woodland mansions. Dark Forest,
Dark Forest Hills
oceanmonument spacing
separation
Generates ocean monuments in the water.
spacing determines the size of the grid, in chunks, on which monuments are generated (minimum is 1, default is 32).
separation determines the minimum distance, in chunks, between monuments. (minimum is 1, default is 5).
WARNING: spacing must be greater than separation, otherwise the game will crash.
Deep Ocean,
Deep Warm Ocean,
Deep Lukewarm Ocean,
Deep Cold Ocean,
Deep Frozen Ocean
pillager_outpost ? Generates Pillager outposts
Plains Desert,
Savanna,
Taiga,
Snowy Taiga,
Snowy Tundra

Conditions[edit]

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

  • The biome ID must be correct. For example, at present villages can only appear in biome IDs plains, desert, taiga, savanna, snowy_taiga, and snowy_tundra.
  • 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, and 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.
      • Villages will always spawn at least 2 blocks above the void.

For example, to have an 'End' superflat world with obsidian pillars, the biome ID must be the_end, 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.

Preset code example[edit]

Consider the following preset code:

minecraft:mossy_cobblestone,250*minecraft:air,minecraft:obsidian,minecraft:snow;minecraft:mountains;stronghold(count=7),village(size=0 distance=9),decoration,dungeon,mineshaft

It consists of the following elements:

  • minecraft:mossy_cobblestone,250*minecraft:air,minecraft:obsidian,minecraft:snow — comma-separated list of block IDs.
    • minecraft:mossy_cobblestone — one layer of mossy cobblestone on layer 0.
    • 250*minecraft:air — 250 layers of air, from layer 1 to layer 250.
    • minecraft:obsidian — one layer of obsidian, on layer 251.
    • minecraft:snow — one layer of snow, on layer 252.
  • minecraft:mountainsbiome ID, in this case Mountains.
  • 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.
    • village(size=0 distance=9) — since Mountains is an invalid biome for villages, this will do nothing.
    • decoration — biome-specific decoration.
    • dungeon — allows dungeons to generate.
    • mineshaft — allows abandoned mineshafts to generate at the default placement frequency.

Resources[edit]

This table applies to the original preset. The resources below can always be found, regardless of the "Generate Structures" option.

Icon Dec Hex Block
0 0 Air
Grass Block Revision 6.png 2 2 minecraft:grass_block Grass Block
Dirt.png 3 3 minecraft:dirt Dirt
Bedrock.png 7 7 minecraft:bedrock Bedrock

The resources below can only be found if the "Generate Structures" option is enabled. These do not include resources that can be obtained via trading with villagers, hero of the village gift, fishing, and chest loot from structures.

Clock.png
This article needs updating.
Description: add missing dv from id table
Icon Dec Hex Namespaced ID Block
Cobblestone.png 4 4 minecraft:cobblestone Cobblestone
Oak Planks.png 5 5 minecraft:oak_planks Oak Planks
Water.png 9 9 minecraft:water Water
Lava.png 11 B minecraft:lava Lava
Smooth Stone.png 0 minecraft:smooth_stone Smooth Stone
Bricks.png 0 minecraft:bricks Bricks
Poppy.png 0 minecraft:poppy Poppy
Azure Bluet.png 0 minecraft:azure_bluet Azure Bluet
Oxeye Daisy.png 0 minecraft:oxeye_daisy Oxeye Daisy
Flower Pot.png 0 minecraft:flower_pot Flower Pot
Oak Trapdoor.png 0 minecraft:oak_trapdoor Oak Trapdoor
Cobblestone Slab.png 0 minecraft:cobblestone_slab Cobblestone Slab
Oak Fence Gate.png 0 minecraft:oak_fence_gate Oak Fence Gate
Grass Path.png 0 minecraft:grass_path Grass Path
Stripped Oak Wood.png 0 minecraft:stripped_oak_wood Stripped Oak Wood
Stripped Oak Log.png 0 minecraft:stripped_oak_log Stripped Oak Log
Hay Bale Axis Y.png 0 minecraft:hay_bale Hay Bale
Mossy Cobblestone.png 0 minecraft:mossy_cobblestone Mossy Cobblestone
White Stained Glass Pane.png 0 minecraft:white_stained_glass_pane White Stained Glass Pane
Yellow Stained Glass Pane.png 0 minecraft:yellow_stained_glass_pane Yellow Stained Glass Pane
Clay Block.png 0 minecraft:clay_block Clay Block
Terracotta.png 0 minecraft:terracotta Terracotta
Dandelion.png 0 minecraft:dandelion Dandelion
Cobblestone Wall.png 0 minecraft:cobblestone_wall Cobblestone Wall
Oak Log Axis Y.png 17 11 minecraft:oak_log Oak Log
White Wool.png 0 minecraft:white_wool White Wool
Yellow Wool.png 0 minecraft:yellow_wool Yellow Wool
Double Smooth Stone Slab.png 0 minecraft:double_smooth_stone_slab Double Smooth Stone Slab
Smooth Stone Slab.png 0 minecraft:smooth_stone_slab Smooth Stone Slab
White Terracotta.png 0 minecraft:white_terracotta White Terracotta
Green Carpet.png 0 minecraft:green_carpet Green Carpet
Yellow Carpet.png 0 minecraft:yellow_carpet Yellow Carpet
White Carpet.png 0 minecraft:white_carpet White Carpet
White Bed.png 0 minecraft:white_bed White Bed
Yellow Bed.png 0 minecraft:yellow_bed Yellow Bed
Bookshelf.png 47 2F minecraft:bookshelf Bookshelf
Torch.png 50 32 minecraft:torch Torch
Oak Stairs.png 53 35 minecraft:oak_stairs Oak Stairs
Chest.png 54 36 minecraft:chest Chest
Crafting Table.png 58 3A minecraft:crafting_table Crafting Table
Wheat Age 7.png 59 3B minecraft:wheat Wheat
Farmland.png 60 3C minecraft:farmland Farmland
Furnace.png 61 3D minecraft:furnace Furnace
Oak Door.png 64 40 minecraft:oak_door Oak Door
Cauldron.png 0 minecraft:cauldron Cauldron
Brewing Stand.png 0 minecraft:brewing_stand Brewing Stand
Barrel.png 0 minecraft:barrel Barrel
Cartography Table.png 0 minecraft:cartography_table Cartography Table
Fletching Table.png 0 minecraft:fletching_table Fletching Table
Smithing Table.png 0 minecraft:smithing_table Smithing Table
Composter.png 0 minecraft:composter Composter
Lectern.png 0 minecraft:lectern Lectern
Stonecutter.png 0 minecraft:stonecutter Stonecutter
Loom.png 0 minecraft:loom Loom
Blast Furnace.png 0 minecraft:blast_furnace Blast Furnace
Smoker.png 0 minecraft:smoker Smoker
Grindstone.png 0 minecraft:grindstone Grindstone
Ladder.png 65 41 minecraft:ladder Ladder
Cobblestone Stairs.png 67 43 minecraft:cobblestone_stairs Cobblestone Stairs
Oak Pressure Plate.png 72 48 minecraft:oak_pressure_plate Oak Pressure Plate
Oak Fence.png 85 55 minecraft:oak_fence Oak Fence
Bell.png 0 minecraft:bell Bell
Leaves.png 0 minecraft:oak_leaves Oak Leaves
Iron Bars (unconnected).png 101 65 minecraft:iron_bars Iron Bars
Glass Pane.png 102 66 minecraft:glass_pane Glass Pane
Carrots.png 141 8D minecraft:carrots Carrots
Potatoes.png 142 8E minecraft:potatoes Potatoes
Beetroots.png 207 CF minecraft:beetroots Beetroots
Cobweb.png 0 minecraft:cobweb Cobweb
Spawner.png 0 minecraft:spawner Spawner
Rail.png 0 minecraft:rail Rail
Birch Planks.png 0 minecraft:birch_planks Birch Planks
Dark Oak Planks.png 0 minecraft:dark_oak_planks Dark Oak Planks
Dark Oak Log Axis Y.png 0 minecraft:dark_oak_log Dark Oak Log
Dark Oak Fence.png 0 minecraft:dark_oak_fence Dark Oak Fence
Dark Oak Stairs.png 0 minecraft:dark_oak_stairs Dark Oak Stairs
Dark Oak Slab.png 0 minecraft:dark_oak_slab Dark Oak Slab
Carved Pumpkin.png 0 minecraft:carved_pumpkin Carved Pumpkin
Vines.png 0 minecraft:vines Vines
Mossy Cobblestone Wall.png 0 minecraft:mossy_cobblestone_wall Mossy Cobblestone Wall
Mossy Cobblestone Stairs.png 0 minecraft:mossy_cobblestone_stairs Mossy Cobblestone Stairs
Mossy Cobblestone Slab.png 0 minecraft:mossy_cobblestone_slab Mossy Cobblestone Slab
Illager Banner.png 0 minecraft:white_banner Ominous Banner

Video[edit]

History[edit]

Java Edition pre-Classic
rd-132211The level generation was changed from the original messy and random generator (as shown in the Cave Game "Tech Test video" – via YouTube), to be completely flat. This was later removed in favor of variable terrain.
Java Edition Classic
0.0.13aThe world is now flat again.
0.0.13a_03Reverted to not flat terrain.
Java Edition
1.1January 4, 2012Jeb announces a "super-flat world type option" and shares a first screenshot.
12w01aAdded Superflat world type.
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.
12w25aSlime spawning in Superflat is reduced.
1.4.212w36aBy going into the level.dat and editing the generatorOptions line, the player can create custom Superflat worlds.
September 10, 2012Dinnerbone mentions that he is adding presets to go with the new customization feature.
12w37aAdded 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.
12w39bThe "Bottomless Pit" preset is fixed.
October 2, 2012Dinnerbone tweets an image of trees naturally generating in superflat worlds.
12w40aGenerated structures (trees, ores, strongholds, etc.) can now be generated in this mode. The preset code version number is changed to "2" to reflect this.
Added a new preset called "Redstone Ready", 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.5.2?At some point, changes to server.properties stopped being looked at in multiplayer after the world was created. Equivalently, any data in the level.dat file overrides the values in server.properties. This means that single player worlds can now be trivially moved to multiplayer. While confirmed in 1.5.2, this probably happened much earlier.
1.7.213w36aStrongholds are no longer generated in the air.
1.814w08aNow 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".
1.915w37aAdded a new preset called "The Void", where terrain is nonexistent except for a stone platform at the spawn.
1.1317w47aSupport for version numbers in preset codes was dropped.[3]
pre5Changed the biome ID void to the_void.
Pocket Edition Alpha
0.9.0build 1Added flat world type.
Legacy Console Edition
TU5CU11.0Patch 1Added superflat world type. Unlike in other editions, the Nether is also flat in this world type.
TU25CU141.17Added Superflat Customization UI.

Issues[edit]

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

Trivia[edit]

  • The volume of an entire default superflat world, not including villages, bonus chests, or air, is 14.4 million km3, and the world is composed of 1.44×1016 blocks.
  • Since cloud height isn't affected by the world generation, clouds will be underground in the Tunneler's Dream preset.
  • If the player select the desert preset, and remove all layers but sand, it is possible to create a massive, endless wave of falling sand. All one has to do to accomplish this computer-breaking feat is dig straight down until you hit the bottom of the world. The sand will then begin to fall from where you dug.

Gallery[edit]

See also[edit]

References[edit]

  1. MC-77307
  2. https://www.mojang.com/2014/02/minecraft-snapshot-14w08a/
  3. MC-123228, "Superflat generator strings no longer contain generator version" resolved "Working As Intended"
  4. https://twitter.com/jeb_/status/157390390788489216