The PlayerButtonInputAfterEventSignal class in @minecraft/server.
Class in @minecraft/server
import { PlayerButtonInputAfterEventSignal } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”subscribe
Section titled “subscribe”subscribe( callback: (arg0: PlayerButtonInputAfterEvent) => void, options?: InputEventOptions,): (arg0: PlayerButtonInputAfterEvent) => void;Parameters
callback(arg0: PlayerButtonInputAfterEvent) => voidoptionsoptionalInputEventOptions
Returns
(arg0: PlayerButtonInputAfterEvent) => voidunsubscribe
Section titled “unsubscribe”unsubscribe(callback: (arg0: PlayerButtonInputAfterEvent) => void): void;Parameters
callback(arg0: PlayerButtonInputAfterEvent) => void