Manages callbacks that are connected to an item stops used on a block event.
export class ItemStopUseOnAfterEventSignal { private constructor(); subscribe(callback: (arg0: ItemStopUseOnAfterEvent) => void): (arg0: ItemStopUseOnAfterEvent) => void; unsubscribe(callback: (arg0: ItemStopUseOnAfterEvent) => void): void;} Copy
export class ItemStopUseOnAfterEventSignal { private constructor(); subscribe(callback: (arg0: ItemStopUseOnAfterEvent) => void): (arg0: ItemStopUseOnAfterEvent) => void; unsubscribe(callback: (arg0: ItemStopUseOnAfterEvent) => void): void;}
Private
Adds a callback that will be called when an item stops being used on 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 an item is used on a block.
Manages callbacks that are connected to an item stops used on a block event.
Source