|
static final int | findChunksForSpawning (WorldServer par0WorldServer, boolean par1, boolean par2, boolean par3) |
|
static boolean | canCreatureTypeSpawnAtLocation (EnumCreatureType par0EnumCreatureType, World par1World, int par2, int par3, int par4) |
|
static void | performWorldGenSpawning (World par0World, BiomeGenBase par1BiomeGenBase, int par2, int par3, int par4, int par5, Random par6Random) |
|
|
static final Class[] | nightSpawnEntities = new Class[] {EntitySpider.class, EntityZombie.class, EntitySkeleton.class} |
|
static boolean net.minecraft.world.SpawnerAnimals.canCreatureTypeSpawnAtLocation |
( |
EnumCreatureType |
par0EnumCreatureType, |
|
|
World |
par1World, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4 |
|
) |
| |
|
static |
Returns whether or not the specified creature type can spawn at the specified location.
static final int net.minecraft.world.SpawnerAnimals.findChunksForSpawning |
( |
WorldServer |
par0WorldServer, |
|
|
boolean |
par1, |
|
|
boolean |
par2, |
|
|
boolean |
par3 |
|
) |
| |
|
static |
adds all chunks within the spawn radius of the players to eligibleChunksForSpawning. pars: the world, hostileCreatures, passiveCreatures. returns number of eligible chunks.
static ChunkPosition net.minecraft.world.SpawnerAnimals.getRandomSpawningPointInChunk |
( |
World |
par0World, |
|
|
int |
par1, |
|
|
int |
par2 |
|
) |
| |
|
staticprotected |
Given a chunk, find a random position in it.
static void net.minecraft.world.SpawnerAnimals.performWorldGenSpawning |
( |
World |
par0World, |
|
|
BiomeGenBase |
par1BiomeGenBase, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4, |
|
|
int |
par5, |
|
|
Random |
par6Random |
|
) |
| |
|
static |
Called during chunk generation to spawn initial creatures.
final Class [] net.minecraft.world.SpawnerAnimals.nightSpawnEntities = new Class[] {EntitySpider.class, EntityZombie.class, EntitySkeleton.class} |
|
staticprotected |
An array of entity classes that spawn at night.
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/world/SpawnerAnimals.java