Beta
Describes what caused a player to change dimensions. Sent as part of PlayerDimensionChangeAfterEvent.
The player respawned in another dimension after dying.
The player changed dimensions through a portal.
The player was teleported to another dimension by a command, such as /tp or /execute, or by a script teleport.
The cause of the dimension change is not known.
Describes what caused a player to change dimensions. Sent as part of PlayerDimensionChangeAfterEvent.