Responsible for querying and modifying various properties of the simulation.
export class SimulationState { private constructor(); isPaused(): boolean; setPaused(isPaused: boolean): void;} Copy
export class SimulationState { private constructor(); isPaused(): boolean; setPaused(isPaused: boolean): void;}
Private
Returns true if mob simulation is paused.
true
This function can't be called in early-execution mode.
Sets the state of mob simulation. If set to true, mobs are paused.
no-restricted-execution - This function can't be called in restricted-execution mode.
This function can throw errors.
Responsible for querying and modifying various properties of the simulation.
Source