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

33 lines
812 B
Java
Raw Normal View History

package biomesoplenty.biomes;
import java.util.Random;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
public class BiomeGenOceanKelp extends BiomeGenBase
{
private BiomeDecoratorBOP customBiomeDecorator;
2013-05-31 10:34:02 +00:00
public BiomeGenOceanKelp(int par1)
{
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.grassPerChunk = 50;
spawnableCreatureList.clear();
}
2013-05-31 10:34:02 +00:00
/**
* Gets a WorldGen appropriate for this biome.
*/
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenTallGrass(Blocks.coral.get().blockID, 0);
}
}