2013-05-24 17:54:27 +00:00
|
|
|
package biomesoplenty.biomes;
|
|
|
|
|
|
|
|
import java.util.Random;
|
|
|
|
|
|
|
|
import net.minecraft.world.biome.BiomeGenBase;
|
2013-05-26 19:36:28 +00:00
|
|
|
import net.minecraft.world.gen.feature.WorldGenTallGrass;
|
|
|
|
import net.minecraft.world.gen.feature.WorldGenerator;
|
2013-05-29 01:05:27 +00:00
|
|
|
import biomesoplenty.api.Blocks;
|
2013-05-24 17:54:27 +00:00
|
|
|
|
|
|
|
public class BiomeGenOceanKelp extends BiomeGenBase
|
|
|
|
{
|
2013-05-26 19:36:28 +00:00
|
|
|
private BiomeDecoratorBOP customBiomeDecorator;
|
|
|
|
|
2013-05-24 17:54:27 +00:00
|
|
|
public BiomeGenOceanKelp(int par1)
|
|
|
|
{
|
|
|
|
super(par1);
|
2013-05-26 19:36:28 +00:00
|
|
|
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
|
|
|
|
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
|
|
|
|
this.customBiomeDecorator.grassPerChunk = 50;
|
2013-05-24 17:54:27 +00:00
|
|
|
this.spawnableCreatureList.clear();
|
|
|
|
}
|
2013-05-26 19:36:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets a WorldGen appropriate for this biome.
|
|
|
|
*/
|
|
|
|
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
|
|
|
|
{
|
|
|
|
return new WorldGenTallGrass(Blocks.coral.get().blockID, 0);
|
|
|
|
}
|
2013-05-24 17:54:27 +00:00
|
|
|
}
|