PlayerInputModeChangeAfterEventSignal
¶
文档版本:1.21.60.21
PlayerInputModeChangeAfterEventSignal
类。script_api.minecraft/server.playerinputmodechangeaftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.playerinputmodechangeaftereventsignal.subscribe.description
subscribe(callback: (arg: PlayerInputModeChangeAfterEvent) => void): (arg: PlayerInputModeChangeAfterEvent) => void
callback
:(PlayerInputModeChangeAfterEvent) => void
- script_api.minecraft/server.playerinputmodechangeaftereventsignal.subscribe.callback.description
- 返回值:
(PlayerInputModeChangeAfterEvent) => void
- script_api.minecraft/server.playerinputmodechangeaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.playerinputmodechangeaftereventsignal.unsubscribe.description
callback
:(PlayerInputModeChangeAfterEvent) => void
- script_api.minecraft/server.playerinputmodechangeaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.playerinputmodechangeaftereventsignal.unsubscribe.return