Beta
Contains information about the release of an item being used through a custom item component.
export class ItemComponentReleaseUseEvent { private constructor(); readonly itemStack: ItemStack; readonly remainingUseDuration: number; readonly source: Player;} Copy
export class ItemComponentReleaseUseEvent { private constructor(); readonly itemStack: ItemStack; readonly remainingUseDuration: number; readonly source: Player;}
Private
Readonly
The item stack that was released.
This property can't be read in early-execution mode.
The remaining use duration, in ticks, when the item was released.
The player who released the item.
Contains information about the release of an item being used through a custom item component.
Source