@minecraft
    正在准备搜索索引...

    类 WorldClockOnRestartBeforeEvent实验性

    Contains information related to a WorldClock restarting.

    索引

    属性

    cancel: boolean

    If set to true, cancels the world clock restart event. This will keep the world clock at the maximum time value and prevent it from ticking forward.

    clock: WorldClock

    The world clock that is restarting.

    newTime: number

    The time that the world clock will be set to after it restarts. If not set, the world clock will be set to 0.

    Minimum Value: 0