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

    Class ItemComponentUseEvent

    Contains information regarding the use of an item.

    Index

    Constructors

    Properties

    Constructors

    Properties

    itemStack?: ItemStack

    The item stack when the item was used.

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

    source: Player

    The player who used the item.

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