package net.glowstone.generator;

import java.util.Random;
import net.glowstone.generator.populators.StructurePopulator;
import org.bukkit.Material;
import org.bukkit.World;

public class SuperflatGenerator extends GlowChunkGenerator {

    public SuperflatGenerator() {
        super(new StructurePopulator());
    }

    @Override
    public ChunkData generateChunkData(World world, Random random, int chunkX, int chunkZ,
        BiomeGrid biomes) {
        ChunkData chunkData = createChunkData(world);

        int cx = chunkX << 4;
        int cz = chunkZ << 4;

        for (int x = 0; x < 16; x++) {
            for (int z = 0; z < 16; z++) {
                generateTerrainColumn(chunkData, world, random, cx + x, cz + z);
            }
        }

        return chunkData;
    }

    public void generateTerrainColumn(ChunkData chunkData, World world, Random random, int x,
        int z) {
        x = x & 0xF;
        z = z & 0xF;

        chunkData.setBlock(x, 0, z, Material.BEDROCK);
        chunkData.setBlock(x, 1, z, Material.DIRT);
        chunkData.setBlock(x, 2, z, Material.DIRT);
        chunkData.setBlock(x, 3, z, Material.GRASS);
    }
}

@@ -778,24 +778,297 @@
 ata;%0A    %7D%0A%0A
+    /**%0A     * Generates a terrain column.%0A     *%0A     * @param chunkData the chunk in which to generate%0A     * @param world the world (ignored)%0A     * @param random the PRNG (ignored)%0A     * @param x the column x coordinate%0A     * @param z the column z coordinate%0A     */%0A
     public v
@@ -1162,24 +1162,74 @@
    int z) %7B%0A
+        // TODO: Handle superflat configurations.%0A
         x = 

Fix CheckStyle issues in generator/SuperflatGenerator.java (#685)