public class EntityEvent extends Event
Event
as its parameter, the method will
receive every child event of this class.entity
contains the entity that caused this event to occur.MinecraftForge.EVENT_BUS
.Modifier and Type | Class and Description |
---|---|
static class |
EntityEvent.CanUpdate
CanUpdate is fired when an Entity is being created.
|
static class |
EntityEvent.EnteringChunk
EnteringChunk is fired when an Entity enters a chunk.
|
static class |
EntityEvent.EntityConstructing
EntityConstructing is fired when an Entity is being created.
|
Event.HasResult, Event.Result
Constructor and Description |
---|
EntityEvent(Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup