public class LivingEvent extends EntityEvent
Event as its parameter, the method will
receive every child event of this class.MinecraftForge#EVENT_BUS.| Modifier and Type | Class and Description |
|---|---|
static class |
LivingEvent.LivingJumpEvent
LivingJumpEvent is fired when an Entity jumps.
This event is fired whenever an Entity jumps in EntityLivingBase#jump(), EntityMagmaCube#jump(), and EntityHorse#jump(). This event is fired via the ForgeHooks#onLivingJump(EntityLivingBase).This event is not Cancelable.This event does not have a result. |
static class |
LivingEvent.LivingUpdateEvent
LivingUpdateEvent is fired when an Entity is updated.
|
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
EntityLivingBase |
entityLiving |
entity| Constructor and Description |
|---|
LivingEvent(EntityLivingBase entity) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic final EntityLivingBase entityLiving
public LivingEvent(EntityLivingBase entity)