Contains information regarding an event after a player successfully interacts with a block.

Properties

block: Block

The block that will be interacted with.

blockFace: Direction

The face of the block that is being interacted with.

faceLocation: Vector3

Location relative to the bottom north-west corner of the block where the item is placed.

itemStack?: ItemStack

The ItemStack after the interaction succeeded, or undefined if hand is empty.

player: Player

Source Player for this event.