WorldChange
Defined in: src/events/WorldChange.ts:5
The event received when a player changes worlds.
Extends
Section titled “Extends”Properties
Section titled “Properties”destination
Section titled “destination”destination:
string
Defined in: src/events/WorldChange.ts:25
The world the player is now in. It will be a Minecraft namespaced registry key, for example:
minecraft:overworld
- The overworldminecraft:the_nether
- The Netherminecraft:the_end
- The End
event:
string
Defined in: src/events/BaseEvent.ts:5
Inherited from
Section titled “Inherited from”id:
number
Defined in: src/events/BaseEvent.ts:4
Inherited from
Section titled “Inherited from”ok:
boolean
Defined in: src/packets/Data.ts:2
Inherited from
Section titled “Inherited from”origin
Section titled “origin”origin:
string
Defined in: src/events/WorldChange.ts:16
The world the player has moved from. It will be a Minecraft namespaced registry key, for example:
minecraft:overworld
- The overworldminecraft:the_nether
- The Netherminecraft:the_end
- The End
time:
Date
Defined in: src/events/BaseEvent.ts:6
Inherited from
Section titled “Inherited from”type:
string
Defined in: src/packets/Data.ts:3
Inherited from
Section titled “Inherited from”user:
User
Defined in: src/events/WorldChange.ts:7
The in-game player who changed worlds.