跳转至

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
unsubscribe

script_api.minecraft/server.playerinputmodechangeaftereventsignal.unsubscribe.description

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