Manages callbacks that are connected to when a block is placed by a player.
export class PlayerPlaceBlockAfterEventSignal { private constructor(); subscribe( callback: (arg0: PlayerPlaceBlockAfterEvent) => void, options?: BlockEventOptions, ): (arg0: PlayerPlaceBlockAfterEvent) => void; unsubscribe(callback: (arg0: PlayerPlaceBlockAfterEvent) => void): void;} Copy
export class PlayerPlaceBlockAfterEventSignal { private constructor(); subscribe( callback: (arg0: PlayerPlaceBlockAfterEvent) => void, options?: BlockEventOptions, ): (arg0: PlayerPlaceBlockAfterEvent) => void; unsubscribe(callback: (arg0: PlayerPlaceBlockAfterEvent) => void): void;}
Private
Optional
Adds a callback that will be called when a block is placed by a player.
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 an block is placed by a player.
Manages callbacks that are connected to when a block is placed by a player.
Source