@minecraft/server

    Class ItemComponentUseEvent

    Contains information regarding the use of an item.

    Index

    Properties

    Properties

    itemStack?: ItemStack

    The item stack when the item was used.

    source: Player

    The player who used the item.

    MMNEPVFCICPMFPCPTTAAATR