The ButtonPushAfterEventSignal class in @minecraft/server.
Class in @minecraft/server
import { ButtonPushAfterEventSignal } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”subscribe
Section titled “subscribe”subscribe(callback: (arg0: ButtonPushAfterEvent) => void): (arg0: ButtonPushAfterEvent) => void;Parameters
callback(arg0: ButtonPushAfterEvent) => void
Returns
(arg0: ButtonPushAfterEvent) => voidTypes
unsubscribe
Section titled “unsubscribe”unsubscribe(callback: (arg0: ButtonPushAfterEvent) => void): void;Parameters
callback(arg0: ButtonPushAfterEvent) => void
Types