package EDM.edm.main.world;

import java.util.Random;

import EDM.edm.main.EDMCore;
import EDM.edm.main.api.BlockAPI;

import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.feature.WorldGenMinable;

import cpw.mods.fml.common.IWorldGenerator;

public class WorldGenerator implements IWorldGenerator {
	@Override
	public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
        switch(world.provider.dimensionId){
        case -1:
            generateNether(world, random, chunkX * 16, chunkZ * 16);
            break;
        case 0:
            generateSurface(world, random, chunkX * 16, chunkZ * 16);
            break;
        case 1:
            generateEnd(world, random, chunkX * 16, chunkZ * 16);
            break;
        }
	}

	private void generateEnd(World world, Random rand, int chunkX, int chunkZ) {}

	private void generateSurface(World world, Random rand, int chunkX, int chunkZ) {
        for(int k = 0; k < 10; k++){
        	int firstBlockXCoord = chunkX + rand.nextInt(10);
        	int firstBlockYCoord = rand.nextInt(64);
        	int firstBlockZCoord = chunkZ + rand.nextInt(20);
        	
        	(new WorldGenMinable(BlockAPI.Black_B.blockID, 3)).generate(world, rand, firstBlockXCoord, firstBlockYCoord, firstBlockZCoord);
        	(new WorldGenMinable(BlockAPI.Blue_B.blockID, 3)).generate(world, rand, firstBlockXCoord, firstBlockYCoord, firstBlockZCoord);
        }
	}

	private void generateNether(World world, Random rand, int chunkX, int chunkZ) {}
}
@@ -1296,33 +1296,33 @@
 lack_B.blockID, 
-3
+7
 )).generate(worl
@@ -1444,9 +1444,9 @@
 ID, 
-3
+7
 )).g
@@ -1618,8 +1618,9 @@
 kZ) %7B%7D%0A%7D
+%0A

Update WorldGenerator.java