Class: World
A class that wraps the state of a world - a set of dimensions and the environment of Minecraft.
Constructors
new World()
private
new World():World
Returns
Properties
afterEvents
readonly
afterEvents:WorldAfterEvents
Remarks
Contains a set of events that are applicable to the entirety of the world. Event callbacks are called in a deferred manner. Event callbacks are executed in read-write mode.
beforeEvents
readonly
beforeEvents:WorldBeforeEvents
Remarks
Contains a set of events that are applicable to the entirety of the world. Event callbacks are called immediately. Event callbacks are executed in read-only mode.
gameRules
Beta
readonly
gameRules:GameRules
Remarks
The game rules that apply to the world.
scoreboard
readonly
scoreboard:Scoreboard
Remarks
Returns the general global scoreboard that applies to the world.
structureManager
readonly
structureManager:StructureManager