Contains information regarding the use of an item on a block via a component.

Hierarchy

Constructors

Properties

block: Block

Remarks

The block impacted by this event.

blockFace: Direction

Remarks

The face of the block that the item was used on.

faceLocation: Vector3

Remarks

Location relative to the bottom north-west corner of the block that the item was used on.

itemStack: ItemStack

Remarks

The item stack used on the block.

source: Entity

Remarks

The entity that used the item on the block.

usedOnBlockPermutation: BlockPermutation

Remarks

The block permutation that the item was used on.