跳转至

ButtonPushAfterEventSignal

文档版本:1.21.60.21

ButtonPushAfterEventSignal类。script_api.minecraft/server.buttonpushaftereventsignal.description

方法

subscribe

script_api.minecraft/server.buttonpushaftereventsignal.subscribe.description

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

script_api.minecraft/server.buttonpushaftereventsignal.unsubscribe.description

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