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/SimulationState.md.

Class: SimulationState experimental

Beta

Responsible for querying and modifying various properties of the simulation.

Methods

isPaused()

isPaused(): boolean

Beta

Returns

boolean

Remarks

Returns true if mob simulation is paused.


setPaused()

setPaused(isPaused): void

World Mutation Beta

Parameters

isPaused

boolean

Returns

void

Remarks

Sets the state of mob simulation. If set to true, mobs are paused.

Throws

This function can throw errors.