For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/PlayerDimensionChangeAfterEvent.md.

Class: PlayerDimensionChangeAfterEvent

event player dimension

Beta

包含玩家维度已更改的相关信息。

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

Properties

fromDimension

readonly fromDimension: Dimension

Beta

玩家正在切换的源维度。

Remarks

The dimension the player is changing from.


fromLocation

readonly fromLocation: Vector3

Beta

玩家在切换维度前的位置。

Remarks

The location the player was at before changing dimensions.


player

readonly player: Player

Beta

正在切换维度的玩家句柄。

Remarks

Handle to the player that is changing dimensions.


toDimension

readonly toDimension: Dimension

Beta

玩家正在切换到的目标维度。

Remarks

The dimension that the player is changing to.


toLocation

readonly toLocation: Vector3

Beta

玩家切换维度后将生成的位置。

Remarks

The location the player will spawn to after changing dimensions.

同领域相关