跳转至

PlayerButtonInputAfterEventSignal

文档版本:1.21.60.21

PlayerButtonInputAfterEventSignal类。script_api.minecraft/server.playerbuttoninputaftereventsignal.description

方法

subscribe

script_api.minecraft/server.playerbuttoninputaftereventsignal.subscribe.description

subscribe(callback: (arg: PlayerButtonInputAfterEvent) => void, options?: InputEventOptions): (arg: PlayerButtonInputAfterEvent) => void
unsubscribe

script_api.minecraft/server.playerbuttoninputaftereventsignal.unsubscribe.description

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