SerenityJS
    Preparing search index...

    Interface ItemStackUseOnBlockOptions

    interface ItemStackUseOnBlockOptions {
        canceled?: boolean;
        clickPosition: Vector3f;
        face: BlockFace;
        method: ItemUseMethod;
        predictedDurability?: null | number;
        targetBlock: Block;
    }

    Hierarchy (View Summary)

    Index

    Properties

    canceled?: boolean

    Whether the use of the item was canceled.

    clickPosition: Vector3f

    The position, relative to the target block, that the item is being used on.

    face: BlockFace

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

    method: ItemUseMethod

    The use method of the item.

    predictedDurability?: null | number

    The predicted amount of durability used during the use of the item.

    targetBlock: Block

    The target block that the item is being used on.