2013-05-24 15:45:47 +00:00
|
|
|
package biomesoplenty.biomes;
|
|
|
|
|
|
|
|
import java.util.Random;
|
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.world.biome.BiomeGenBase;
|
|
|
|
import net.minecraft.world.gen.feature.WorldGenerator;
|
2013-05-29 01:05:27 +00:00
|
|
|
import biomesoplenty.worldgen.WorldGenBogBush;
|
2013-05-24 15:45:47 +00:00
|
|
|
|
|
|
|
public class BiomeGenBeachOvergrown extends BiomeGenBase
|
|
|
|
{
|
2013-05-24 20:51:25 +00:00
|
|
|
private BiomeDecoratorBOP customBiomeDecorator;
|
|
|
|
|
2013-05-24 15:45:47 +00:00
|
|
|
public BiomeGenBeachOvergrown(int par1)
|
|
|
|
{
|
|
|
|
super(par1);
|
2013-05-24 20:51:25 +00:00
|
|
|
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
|
|
|
|
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
|
2013-05-24 15:45:47 +00:00
|
|
|
this.spawnableCreatureList.clear();
|
|
|
|
this.topBlock = (byte)Block.sand.blockID;
|
|
|
|
this.fillerBlock = (byte)Block.sand.blockID;
|
2013-05-24 20:51:25 +00:00
|
|
|
this.theBiomeDecorator.treesPerChunk = 15;
|
|
|
|
this.theBiomeDecorator.deadBushPerChunk = 1;
|
|
|
|
this.customBiomeDecorator.duneGrassPerChunk = 25;
|
2013-05-24 15:45:47 +00:00
|
|
|
this.theBiomeDecorator.reedsPerChunk = -999;
|
|
|
|
this.theBiomeDecorator.cactiPerChunk = 1;
|
2013-05-24 20:51:25 +00:00
|
|
|
this.customBiomeDecorator.outbackPerChunk = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets a WorldGen appropriate for this biome.
|
|
|
|
*/
|
|
|
|
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
|
|
|
|
{
|
|
|
|
return new WorldGenBogBush();
|
2013-05-24 15:45:47 +00:00
|
|
|
}
|
|
|
|
}
|