Manages callbacks that are connected to when a player starts breaking a block.
export class PlayerStartBreakingBlockAfterEventSignal { private constructor(); subscribe( callback: (arg0: PlayerStartBreakingBlockAfterEvent) => void, options?: PlayerBreakingBlockEventOptions, ): (arg0: PlayerStartBreakingBlockAfterEvent) => void; unsubscribe(callback: (arg0: PlayerStartBreakingBlockAfterEvent) => void): void;} Copy
export class PlayerStartBreakingBlockAfterEventSignal { private constructor(); subscribe( callback: (arg0: PlayerStartBreakingBlockAfterEvent) => void, options?: PlayerBreakingBlockEventOptions, ): (arg0: PlayerStartBreakingBlockAfterEvent) => void; unsubscribe(callback: (arg0: PlayerStartBreakingBlockAfterEvent) => void): void;}
Private
Optional
Adds a callback that will be called when a player starts breaking a block.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Removes a callback from being called when a player starts breaking a block.
Manages callbacks that are connected to when a player starts breaking a block.
Source