public class EntityMountEvent extends EntityEvent
Cancelable
.Event.HasResult
MinecraftForge.EVENT_BUS
.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private Entity |
entityBeingMounted |
private Entity |
entityMounting |
private boolean |
isMounting |
private World |
worldObj |
Constructor and Description |
---|
EntityMountEvent(Entity entityMounting,
Entity entityBeingMounted,
World entityWorld,
boolean isMounting) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntityBeingMounted() |
Entity |
getEntityMounting() |
World |
getWorldObj() |
boolean |
isDismounting() |
boolean |
isMounting() |
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup