Optional
properties: Partial<WorldProperties>Readonly
blockReadonly
commandThe command palette of the world.
The current time of day for the world.
Readonly
dimensionsThe dimensions of the world.
Readonly
effectThe effect palette of the world.
Readonly
entityThe entity palette of the world.
Readonly
identifierThe identifier of the world.
Readonly
itemThe item palette of the world.
Readonly
loggerThe logger of the world.
Readonly
propertiesThe properties of the world.
Readonly
providerThe provider of the world.
Readonly
scoreboardThe scoreboard for the world.
Readonly
serenityThe serenity instance that the world belongs to.
The current tick of the world.
The current gamerules values of the world.
Sends a packet to all players in the world.
Sends a packet to all players in the world except for the specified player.
The player to exclude from the broadcast.
The packets to send.
Sends a packet to all players in the world immediately. This will bypass the RakNet queue and send the packet immediately.
The packets to send.
Creates a new dimension with the specified generator and properties.
The properties to use for the dimension
The created dimension, if successful; otherwise, false
Gets the default gamemode for the world.
The default gamemode.
Get the current difficulty of the world.
The difficulty of the world.
Ticks the world with a given delta tick.
The delta tick to tick the world with.
Schedule an execution of a function after a specified amount of ticks.
The amount of ticks to wait before the schedule is complete.
The created tick schedule.
Broadcasts a message to all players in the world.
The message to broadcast.
Sets the default gamemode for the world.
The gamemode to set.
Set the current difficulty of the world.
The difficulty to set.
Sets the current time of day for the world.
The time of day to set.
The block palette of the world.