public static class PlayerEvent.PlayerChangedDimensionEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.ItemCraftedEvent, PlayerEvent.ItemPickupEvent, PlayerEvent.ItemSmeltedEvent, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.PlayerChangedDimensionEvent, PlayerEvent.PlayerLoggedInEvent, PlayerEvent.PlayerLoggedOutEvent, PlayerEvent.PlayerRespawnEvent, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private DimensionType |
fromDim |
private DimensionType |
toDim |
Constructor and Description |
---|
PlayerChangedDimensionEvent(PlayerEntity player,
DimensionType fromDim,
DimensionType toDim) |
Modifier and Type | Method and Description |
---|---|
DimensionType |
getFrom() |
DimensionType |
getTo() |
getPlayer
getEntityLiving
getEntity
private final DimensionType fromDim
private final DimensionType toDim
public PlayerChangedDimensionEvent(PlayerEntity player, DimensionType fromDim, DimensionType toDim)
public DimensionType getFrom()
public DimensionType getTo()