public class EntityTravelToDimensionEvent extends EntityEvent
dimension
contains the id of the dimension the entity is traveling to.Cancelable
.Event.HasResult
MinecraftForge.EVENT_BUS
.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private int |
dimension |
Constructor and Description |
---|
EntityTravelToDimensionEvent(Entity entity,
int dimension) |
Modifier and Type | Method and Description |
---|---|
int |
getDimension() |
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public EntityTravelToDimensionEvent(Entity entity, int dimension)