Skip to main content

Class: PlayerDimensionChangeAfterEvent

Contains information related to changes to a player's dimension having been changed.

Constructors

new PlayerDimensionChangeAfterEvent()

private new PlayerDimensionChangeAfterEvent(): PlayerDimensionChangeAfterEvent

Returns

PlayerDimensionChangeAfterEvent

Properties

fromDimension

readonly fromDimension: Dimension

Remarks

The dimension the player is changing from.


fromLocation

readonly fromLocation: Vector3

Remarks

The location the player was at before changing dimensions.


player

readonly player: Player

Remarks

Handle to the player that is changing dimensions.


toDimension

readonly toDimension: Dimension

Remarks

The dimension that the player is changing to.


toLocation

readonly toLocation: Vector3

Remarks

The location the player will spawn to after changing dimensions.