Editar

Compartir a través de


MinecraftEditor Class

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

Properties

constants

read-only constants: EditorConstants;

Type: EditorConstants

log

read-only log: Logger;

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

Type: Logger

Notes:

  • This property can throw errors when used.

simulation

read-only simulation: SimulationState;

Allows querying and modifying some properties of the simulation.

Type: SimulationState

worldGeneratorType

read-only worldGeneratorType?: WorldGeneratorType;

Type: WorldGeneratorType