Manages callbacks that are connected to the stopping of charging for an item that has a registered minecraft:chargeable component.
export class ItemStopUseAfterEventSignal { private constructor(); subscribe(callback: (arg0: ItemStopUseAfterEvent) => void): (arg0: ItemStopUseAfterEvent) => void; unsubscribe(callback: (arg0: ItemStopUseAfterEvent) => void): void;} Copy
export class ItemStopUseAfterEventSignal { private constructor(); subscribe(callback: (arg0: ItemStopUseAfterEvent) => void): (arg0: ItemStopUseAfterEvent) => void; unsubscribe(callback: (arg0: ItemStopUseAfterEvent) => void): void;}
Private
Adds a callback that will be called when a chargeable item stops charging.
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 chargeable item stops charging.
Manages callbacks that are connected to the stopping of charging for an item that has a registered minecraft:chargeable component.
Source