Script API - v26.70.26
    Preparing search index...

    Class ItemComponentReleaseUseEventBeta

    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;
    }
    Index
    itemStack: ItemStack

    The item stack that was released.

    This property can't be read in early-execution mode.

    remainingUseDuration: number

    The remaining use duration, in ticks, when the item was released.

    This property can't be read in early-execution mode.

    source: Player

    The player who released the item.

    This property can't be read in early-execution mode.