@minecraft/server
    Preparing search index...

    Class PlayerDimensionChangeAfterEventBeta

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

    Index

    Properties

    fromDimension: Dimension

    The dimension the player is changing from.

    fromLocation: Vector3

    The location the player was at before changing dimensions.

    player: Player

    Handle to the player that is changing dimensions.

    toDimension: Dimension

    The dimension that the player is changing to.

    toLocation: Vector3

    The location the player will spawn to after changing dimensions.