Skip to main content

Class: MinecraftEditor

The MinecraftEditor class is a namespace container for Editor functionality which does not have any player context.

Constructors

new MinecraftEditor()

private new MinecraftEditor(): MinecraftEditor

Returns

MinecraftEditor

Properties

log

readonly log: Logger

Remarks

A global instance of the log output class object. This is not contextualized to any particular player, and any messages sent to this instance will be broadcast to all connected editor client sessions

Throws

This property can throw when used.


simulation

readonly simulation: SimulationState

Remarks

Allows querying and modifying some properties of the simulation.