public class LivingSpawnEvent extends LivingEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
LivingSpawnEvent.AllowDespawn
Fired each tick for despawnable mobs to allow control over despawning.
|
static class |
LivingSpawnEvent.CheckSpawn
Fires before mob spawn events.
|
static class |
LivingSpawnEvent.SpecialSpawn |
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
World |
world |
float |
x |
float |
y |
float |
z |
entityLivingentity| Constructor and Description |
|---|
LivingSpawnEvent(EntityLiving entity,
World world,
float x,
float y,
float z) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setuppublic final World world
public final float x
public final float y
public final float z
public LivingSpawnEvent(EntityLiving entity, World world, float x, float y, float z)