Script API - v1.21.120.21
    Preparing search index...

    Class ItemReleaseUseAfterEvent

    Contains information related to a chargeable item when the player has finished using the item and released the build action.

    Index

    Constructors

    Properties

    Constructors

    Properties

    itemStack?: ItemStack

    Returns the item stack that triggered this item event.

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

    source: Player

    Returns the source entity that triggered this item event.

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

    useDuration: number

    Returns the time, in ticks, for the remaining duration left before the charge completes its cycle.

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