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

    类 ShutdownBeforeEventSignal预览版

    Provides an adaptable interface for callers to subscribe to an event that fires before the game world shuts down. This event occurs after players have left, but before the world has closed.

    索引

    方法

    • 世界修改 早期执行

      参数

      • callback: (arg0: ShutdownEvent) => void

        Function closure that was previously passed to the subscribe method.

      返回 void

      Removes a subscriber callback previously subscribed to via the subscribe method.