public final class WorldEntitySpawner
extends java.lang.Object
Constructor and Description |
---|
WorldEntitySpawner() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canCreatureTypeSpawnAtLocation(EntityLiving.SpawnPlacementType spawnPlacementTypeIn,
World worldIn,
BlockPos pos) |
int |
findChunksForSpawning(WorldServer worldServerIn,
boolean spawnHostileMobs,
boolean spawnPeacefulMobs,
boolean spawnOnSetTickRate) |
static boolean |
isValidEmptySpawnBlock(IBlockState state) |
static void |
performWorldGenSpawning(World worldIn,
Biome biomeIn,
int centerX,
int centerZ,
int diameterX,
int diameterZ,
java.util.Random randomIn) |
public int findChunksForSpawning(WorldServer worldServerIn, boolean spawnHostileMobs, boolean spawnPeacefulMobs, boolean spawnOnSetTickRate)
public static boolean isValidEmptySpawnBlock(IBlockState state)
public static boolean canCreatureTypeSpawnAtLocation(EntityLiving.SpawnPlacementType spawnPlacementTypeIn, World worldIn, BlockPos pos)