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.
|
static int |
findChunksForSpawning(WorldServer par0WorldServer,
boolean par1,
boolean par2,
boolean par3)
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 static final int findChunksForSpawning(WorldServer par0WorldServer, boolean par1, boolean par2, boolean par3)
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)