41 lines
1.4 KiB
Java
41 lines
1.4 KiB
Java
package StevenDimDoors.mod_pocketDim;
|
|
|
|
import StevenDimDoors.mod_pocketDim.ticking.MobObelisk;
|
|
import net.minecraft.entity.monster.EntitySpider;
|
|
import net.minecraft.world.biome.BiomeGenBase;
|
|
import net.minecraft.world.biome.SpawnListEntry;
|
|
|
|
public class BiomeGenLimbo extends BiomeGenBase
|
|
{
|
|
protected BiomeGenLimbo(int par1)
|
|
{
|
|
super(par1);
|
|
this.theBiomeDecorator.treesPerChunk = 0;
|
|
this.theBiomeDecorator.flowersPerChunk = 0;
|
|
this.theBiomeDecorator.grassPerChunk = 0;
|
|
this.setBiomeName("Limbo");
|
|
this.setDisableRain();
|
|
|
|
this.spawnableMonsterList.clear();
|
|
this.spawnableCreatureList.clear();
|
|
this.spawnableWaterCreatureList.clear();
|
|
this.spawnableCaveCreatureList.clear();
|
|
this.spawnableMonsterList.add(new SpawnListEntry(MobObelisk.class, 1, 1, 1));
|
|
this.spawnableMonsterList.add(new SpawnListEntry(MobObelisk.class, 300, 0, 0));
|
|
|
|
this.spawnableCreatureList.add(new SpawnListEntry(MobObelisk.class, 1, 1, 1));
|
|
this.spawnableCreatureList.add(new SpawnListEntry(MobObelisk.class, 300, 0, 0));
|
|
|
|
this.spawnableCaveCreatureList.add(new SpawnListEntry(MobObelisk.class, 1, 1, 1));
|
|
this.spawnableCaveCreatureList.add(new SpawnListEntry(MobObelisk.class, 300, 0, 0));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
public float getSpawningChance()
|
|
{
|
|
return 0.00001F;
|
|
}
|
|
}
|