Class EntityTravelToDimensionEvent


  • public class EntityTravelToDimensionEvent
    extends EntityEvent
    EntityTravelToDimensionEvent is fired before an Entity travels to a dimension.

    dimension contains the id of the dimension the entity is traveling to.

    This event is Cancelable.
    If this event is canceled, the Entity does not travel to the dimension.

    This event does not have a result. Event.HasResult

    This event is fired on the MinecraftForge.EVENT_BUS.