The StartupBeforeEventSignal class in @minecraft/server.
Class in @minecraft/server
import { StartupBeforeEventSignal } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”subscribe
Section titled “subscribe”subscribe(callback: (arg0: StartupEvent) => void): (arg0: StartupEvent) => void;Parameters
callback(arg0: StartupEvent) => void
Returns
(arg0: StartupEvent) => voidTypes
unsubscribe
Section titled “unsubscribe”unsubscribe(callback: (arg0: StartupEvent) => void): void;Parameters
callback(arg0: StartupEvent) => void
Types