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, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private DimensionType |
dimension |
Constructor and Description |
---|
EntityTravelToDimensionEvent(Entity entity,
DimensionType dimension) |
Modifier and Type | Method and Description |
---|---|
DimensionType |
getDimension() |
getEntity
private final DimensionType dimension
public EntityTravelToDimensionEvent(Entity entity, DimensionType dimension)
public DimensionType getDimension()