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

    Contains information related to an item being used on a block.

    Index

    Constructors

    Properties

    blockFace: Direction

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

    cancel: boolean

    If set to true, this will cancel the item use behavior.

    faceLocationX: number

    X coordinate of the item-use impact location on the face of the target block.

    faceLocationY: number

    Y coordinate of the item-use impact location on the face of the target block.

    item: ItemStack

    The impacted item stack that is being used on a block.

    source: Entity

    Returns the source entity that triggered this item event.

    Methods