2013-05-18 14:37:05 +00:00
|
|
|
package biomesoplenty.biomes;
|
|
|
|
|
2013-05-18 15:28:50 +00:00
|
|
|
import java.util.Random;
|
|
|
|
|
2013-05-18 14:37:05 +00:00
|
|
|
import biomesoplenty.configuration.BOPConfiguration;
|
2013-05-18 15:28:50 +00:00
|
|
|
import biomesoplenty.worldgen.WorldGenNetherMushroom;
|
2013-05-18 14:37:05 +00:00
|
|
|
|
2013-05-18 22:23:21 +00:00
|
|
|
import net.minecraft.block.Block;
|
2013-05-18 14:37:05 +00:00
|
|
|
import net.minecraft.world.biome.BiomeGenBase;
|
|
|
|
import net.minecraft.world.biome.SpawnListEntry;
|
2013-05-18 15:28:50 +00:00
|
|
|
import net.minecraft.world.gen.feature.WorldGenerator;
|
2013-05-18 14:37:05 +00:00
|
|
|
import net.minecraft.entity.monster.EntityGhast;
|
|
|
|
import net.minecraft.entity.monster.EntityMagmaCube;
|
|
|
|
import net.minecraft.entity.monster.EntityPigZombie;
|
|
|
|
|
|
|
|
public class BiomeGenNetherGarden extends BiomeGenBase
|
|
|
|
{
|
|
|
|
private BiomeDecoratorBOP customBiomeDecorator;
|
|
|
|
|
|
|
|
public BiomeGenNetherGarden(int par1)
|
|
|
|
{
|
|
|
|
super(par1);
|
|
|
|
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
|
|
|
|
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
|
2013-05-18 22:23:21 +00:00
|
|
|
this.topBlock = (byte)Block.netherrack.blockID;
|
|
|
|
this.fillerBlock = (byte)Block.netherrack.blockID;
|
|
|
|
this.customBiomeDecorator.treesPerChunk = 15;
|
|
|
|
this.customBiomeDecorator.netherVinesPerChunk = 80;
|
2013-05-18 15:28:50 +00:00
|
|
|
this.customBiomeDecorator.mushroomsPerChunk = 20;
|
2013-05-18 22:23:21 +00:00
|
|
|
this.customBiomeDecorator.bigMushroomsPerChunk = 10;
|
|
|
|
this.customBiomeDecorator.netherWartPerChunk = 3;
|
2013-05-18 14:37:05 +00:00
|
|
|
this.spawnableMonsterList.clear();
|
|
|
|
this.spawnableCreatureList.clear();
|
|
|
|
this.spawnableWaterCreatureList.clear();
|
|
|
|
this.spawnableCaveCreatureList.clear();
|
|
|
|
this.spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4));
|
|
|
|
this.spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4));
|
|
|
|
this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4));
|
|
|
|
}
|
2013-05-18 15:28:50 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets a WorldGen appropriate for this biome.
|
|
|
|
*/
|
|
|
|
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
|
|
|
|
{
|
|
|
|
return new WorldGenNetherMushroom();
|
|
|
|
}
|
2013-05-18 14:37:05 +00:00
|
|
|
}
|