Contains information regarding an event before a player places a block.

Hierarchy (View Summary)

Properties

block: Block

Block impacted by this event.

cancel: boolean

If set to true, cancels the block place event.

dimension: Dimension

Dimension that contains the block that is the subject of this event.

face: Direction

The block face that was placed onto.

permutationToPlace: BlockPermutation

The block permutation that will be placed if the event is not cancelled. If set to a different block permutation, that permutation will be placed instead.

player?: Player

The player that is placing this block.