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

Hierarchy

  • PlayerInteractWithBlockAfterEvent

Constructors

Properties

block: Block

Remarks

The block that will be interacted with.

blockFace: Direction

Remarks

The face of the block that is being interacted with.

faceLocation: Vector3

Remarks

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

itemStack?: ItemStack

Remarks

The item stack that is being used in the interaction, or undefined if empty hand.

player: Player

Remarks

Source Player for this event.