BiomesOPlenty/src/minecraft/biomesoplenty/biomes/BiomeGenBeachOvergrown.java

38 lines
1.2 KiB
Java
Raw Normal View History

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;
import biomesoplenty.worldgen.WorldGenBogBush;
2013-05-24 15:45:47 +00:00
public class BiomeGenBeachOvergrown extends BiomeGenBase
{
private BiomeDecoratorBOP customBiomeDecorator;
2013-05-24 15:45:47 +00:00
public BiomeGenBeachOvergrown(int par1)
{
super(par1);
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;
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;
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
}
}