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
callback
:(PlayerButtonInputAfterEvent) => void
- script_api.minecraft/server.playerbuttoninputaftereventsignal.subscribe.callback.description
options
?:InputEventOptions
=null
- script_api.minecraft/server.playerbuttoninputaftereventsignal.subscribe.options.description
- 返回值:
(PlayerButtonInputAfterEvent) => void
- script_api.minecraft/server.playerbuttoninputaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.playerbuttoninputaftereventsignal.unsubscribe.description
callback
:(PlayerButtonInputAfterEvent) => void
- script_api.minecraft/server.playerbuttoninputaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.playerbuttoninputaftereventsignal.unsubscribe.return