Protected
constructorReadonly
eventsContains a set of events that are applicable to the entirety of the world.
Readonly
scoreboardReturns the general global scoreboard that applies to the world.
Optional
options: EntityQueryOptionsAll players currently in the world.
Returns all players currently in the world.
This function can throw errors.
Optional
musicOptions: MusicOptionsPlays a particular music track for all players.
Optional
soundOptions: SoundOptionsPlays a sound for all players.
Optional
musicOptions: MusicOptionsQueues an additional music track for players. If a track is not playing, a music track will play.
Broadcasts a message that is displayed on all connected clients.
This function can throw errors.
A class that wraps the state of a world - a set of dimensions and the environment of Minecraft.