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