@minecraft/server
    Preparing search index...

    Class ItemUseAfterEventBeta

    Contains information related to an item being used on a block. This event fires when an item used by a player successfully triggers an entity interaction.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    itemStack: ItemStack

    The impacted item stack that is being used.

    source: Player

    Returns the source entity that triggered this item event.