public class EntityEvent
extends net.minecraftforge.eventbus.api.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.
|
static class |
EntityEvent.EyeHeight
EyeHeight is fired when an Entity's eye height changes.
|
Constructor and Description |
---|
EntityEvent(Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity() |