Private
constructorReadonly
blockThe block that will be interacted with.
Readonly
blockThe face of the block that is being interacted with.
If set to true the interaction will be cancelled.
Readonly
faceLocation relative to the bottom north-west corner of the block where the item is placed.
Readonly
isThis value will be true if the event was triggered on players initial interaction button press and false on events triggered from holding the interaction button.
Optional
Readonly
itemThe item stack that is being used in the interaction, or undefined if empty hand.
Readonly
playerSource Player for this event.
Contains information regarding an event before a player interacts with a block.