跳转至

CurrentThemeChangeAfterEventSignal

文档版本:1.21.60.21

CurrentThemeChangeAfterEventSignal类。script_api.minecraft/server-editor-bindings.currentthemechangeaftereventsignal.description

方法

subscribe

script_api.minecraft/server-editor-bindings.currentthemechangeaftereventsignal.subscribe.description

subscribe(callback: (arg: CurrentThemeChangeAfterEvent) => void): (arg: CurrentThemeChangeAfterEvent) => void
unsubscribe

script_api.minecraft/server-editor-bindings.currentthemechangeaftereventsignal.unsubscribe.description

unsubscribe(callback: (arg: CurrentThemeChangeAfterEvent) => void): void