	public void generate(Random random, int chunkX, int chunkZ, World world,
				IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
		BiomeGenBase b = world.getBiomeGenForCoords(chunkX*16, chunkZ*16);
		int randDefault = -1; 
		int yHeightBase = 0;
		if(b.biomeName.equals("Ocean")) {
			yHeightBase = 40;  
			randDefault = 20; 
		} else if(b.biomeName.equals("Ice Mountains")||b.biomeName.equals("Extreme Hills")) {
			yHeightBase = 130;
			randDefault = 30; 
		}
		Random randGenny = new Random();
		int randChance = randGenny.nextInt(randDefault); 
		if(randChance < 1 && randChance > -1) {
			int yHeight = yHeightBase - randGenny.nextInt(20);
			int yBase = 10 + randGenny.nextInt(20);
			while(yHeight > yBase) {
				world.setBlock(chunkX*16 + 8, yHeight, chunkZ*16 + 8, Block.lavaStill.blockID);
				yHeight-=1;
			}
		}
	}

	public void generate(Random random, int chunkX, int chunkZ, World world,
				IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
		BiomeGenBase b = world.getBiomeGenForCoords(chunkX*16, chunkZ*16);
		int randDefault = 0; 
		int yHeightBase = 0;
		if(b.biomeName.equals("Ocean")) {
			Random randGenny = new Random();
			int randChance = randGenny.nextInt(80); 
			int xBase = 0;
			if(randChance < 1) {
				int yHeight = 80 - randGenny.nextInt(20);
				int yBase = 10 + randGenny.nextInt(20);
				while(yHeight > yBase) {
					world.setBlock(chunkX*16 + 8, yHeight, chunkZ*16 + 8, Block.lavaStill.blockID);
					yHeight-=1;
				}
			}
		}
		if(b.biomeName.equals("Ice Mountains")||b.biomeName.equals("Extreme Hills")) {
			Random randGenny = new Random();
			int randChance = randGenny.nextInt(80); 
			if(randChance < 1) {
				int yHeight = 140 - randGenny.nextInt(20);
				int yBase = 10 + randGenny.nextInt(20);
				while(yHeight > yBase) {
					world.setBlock(chunkX*16 + 8, yHeight, chunkZ*16 + 8, Block.lavaStill.blockID);
					yHeight-=1;
				}
			}
		}
	}
