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

    Contains information related to an item being used on a block. This event fires when a player presses the the Use Item / Place Block button to successfully use an item or place a block. Note: This event cannot be used with Hoe or Axe items.

    Index

    Properties

    block: Block

    The block that the item is used on.

    blockFace: Direction

    The face of the block that an item is being used on.

    itemStack: ItemStack

    The impacted item stack that is starting to be used.

    source: Entity

    Returns the source entity that triggered this item event.