public static class LivingSpawnEvent.SpecialSpawn extends LivingSpawnEvent
ForgeEventFactory#doSpecialSpawn(EntityLiving, World, float, float, float).Cancelable.Event.HasResultMinecraftForge.EVENT_BUS.LivingSpawnEvent.AllowDespawn, LivingSpawnEvent.CheckSpawn, LivingSpawnEvent.SpecialSpawnLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing| Constructor and Description |
|---|
SpecialSpawn(EntityLiving entity,
World world,
double x,
double y,
double z,
MobSpawnerBaseLogic spawner) |
| Modifier and Type | Method and Description |
|---|---|
MobSpawnerBaseLogic |
getSpawner() |
getWorld, getX, getY, getZgetEntityLivinggetEntitypublic SpecialSpawn(EntityLiving entity, World world, double x, double y, double z, @Nullable MobSpawnerBaseLogic spawner)
spawner - the position of a tileentity or approximate position of an entity that initiated the spawn if any@Nullable public MobSpawnerBaseLogic getSpawner()