类 SimulationState实验性

Responsible for querying and modifying various properties of the simulation.

方法

  • 实验性

    参数

    • isPaused: boolean

    返回 void

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

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.