public final class SpawnerAnimals extends Object
Constructor and Description |
---|
SpawnerAnimals() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canCreatureTypeSpawnAtLocation(EnumCreatureType par0EnumCreatureType,
World par1World,
int par2,
int par3,
int par4)
Returns whether or not the specified creature type can spawn at the specified location.
|
int |
findChunksForSpawning(WorldServer par1WorldServer,
boolean par2,
boolean par3,
boolean par4)
adds all chunks within the spawn radius of the players to eligibleChunksForSpawning.
|
static void |
performWorldGenSpawning(World par0World,
BiomeGenBase par1BiomeGenBase,
int par2,
int par3,
int par4,
int par5,
Random par6Random)
Called during chunk generation to spawn initial creatures.
|
public int findChunksForSpawning(WorldServer par1WorldServer, boolean par2, boolean par3, boolean par4)
public static boolean canCreatureTypeSpawnAtLocation(EnumCreatureType par0EnumCreatureType, World par1World, int par2, int par3, int par4)
public static void performWorldGenSpawning(World par0World, BiomeGenBase par1BiomeGenBase, int par2, int par3, int par4, int par5, Random par6Random)