跳转至

LeverActionAfterEventSignal

文档版本:1.21.60.21

LeverActionAfterEventSignal类。script_api.minecraft/server.leveractionaftereventsignal.description

方法

subscribe

script_api.minecraft/server.leveractionaftereventsignal.subscribe.description

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

script_api.minecraft/server.leveractionaftereventsignal.unsubscribe.description

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