2013-09-14 10:16:39 +00:00
|
|
|
package biomesoplenty.biomes.nether;
|
2013-05-18 14:37:05 +00:00
|
|
|
|
2013-05-18 15:28:50 +00:00
|
|
|
import java.util.Random;
|
|
|
|
|
2013-05-18 22:23:21 +00:00
|
|
|
import net.minecraft.block.Block;
|
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;
|
2013-05-29 01:05:27 +00:00
|
|
|
import net.minecraft.world.biome.BiomeGenBase;
|
|
|
|
import net.minecraft.world.biome.SpawnListEntry;
|
|
|
|
import net.minecraft.world.gen.feature.WorldGenerator;
|
2013-09-14 10:16:39 +00:00
|
|
|
import biomesoplenty.biomes.BiomeDecoratorBOP;
|
2013-05-29 01:05:27 +00:00
|
|
|
import biomesoplenty.worldgen.WorldGenNetherMushroom;
|
2013-05-18 14:37:05 +00:00
|
|
|
|
|
|
|
public class BiomeGenNetherGarden extends BiomeGenBase
|
|
|
|
{
|
|
|
|
private BiomeDecoratorBOP customBiomeDecorator;
|
2013-05-31 10:34:02 +00:00
|
|
|
|
|
|
|
public BiomeGenNetherGarden(int par1)
|
|
|
|
{
|
|
|
|
super(par1);
|
|
|
|
theBiomeDecorator = new BiomeDecoratorBOP(this);
|
|
|
|
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
|
|
|
|
topBlock = (byte)Block.netherrack.blockID;
|
|
|
|
fillerBlock = (byte)Block.netherrack.blockID;
|
|
|
|
customBiomeDecorator.treesPerChunk = 80;
|
|
|
|
customBiomeDecorator.netherVinesPerChunk = 60;
|
|
|
|
customBiomeDecorator.mushroomsPerChunk = 30;
|
|
|
|
customBiomeDecorator.bigMushroomsPerChunk = 30;
|
2013-09-06 23:27:44 +00:00
|
|
|
customBiomeDecorator.netherWartPerChunk = 8;
|
2013-05-31 10:34:02 +00:00
|
|
|
customBiomeDecorator.netherGrassPerChunk = 10;
|
|
|
|
customBiomeDecorator.glowshroomsPerChunk = 3;
|
|
|
|
customBiomeDecorator.toadstoolsPerChunk = 5;
|
2013-09-09 23:46:48 +00:00
|
|
|
customBiomeDecorator.gravesPerChunk = 1;
|
2013-09-19 22:18:50 +00:00
|
|
|
customBiomeDecorator.burningBlossomsPerChunk = 8;
|
2013-05-31 10:34:02 +00:00
|
|
|
spawnableMonsterList.clear();
|
|
|
|
spawnableCreatureList.clear();
|
|
|
|
spawnableWaterCreatureList.clear();
|
|
|
|
spawnableCaveCreatureList.clear();
|
|
|
|
spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4));
|
|
|
|
spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4));
|
|
|
|
spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets a WorldGen appropriate for this biome.
|
|
|
|
*/
|
|
|
|
@Override
|
|
|
|
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
|
|
|
|
{
|
|
|
|
return new WorldGenNetherMushroom();
|
|
|
|
}
|
2013-05-18 14:37:05 +00:00
|
|
|
}
|