For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/classes/MinecraftEditor.md.

Class: MinecraftEditor

Beta

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

Properties

afterEvents

实验性

readonly afterEvents: ProjectAfterEvents

Early Execution Beta

Remarks


constants

实验性

readonly constants: EditorConstants

Beta


log

readonly log: Logger

Beta

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

Beta

Remarks

Allows querying and modifying some properties of the simulation.


worldGeneratorType?

readonly optional worldGeneratorType?: WorldGeneratorType

Beta