Working with biomes and such, trying to prevent crazy mob spawns

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
StevenRS11
2013-05-10 16:05:11 -04:00
parent e2a486d931
commit 5682e3fc30
7 changed files with 120 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
package StevenDimDoors.mod_pocketDim;
import net.minecraft.world.biome.BiomeGenBase;
public class BiomeGenPocket extends BiomeGenBase
{
protected BiomeGenPocket(int par1)
{
super(par1);
this.theBiomeDecorator.treesPerChunk = 0;
this.theBiomeDecorator.flowersPerChunk = 0;
this.theBiomeDecorator.grassPerChunk = 0;
this.setBiomeName("Pocket Dimension");
this.setDisableRain();
this.spawnableMonsterList.clear();
this.spawnableCreatureList.clear();
this.spawnableWaterCreatureList.clear();
this.spawnableCaveCreatureList.clear();
}
}