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

Hierarchy

Constructors

Properties

block: Block

Remarks

Block impacted by this event.

cancel: boolean

Remarks

If set to true, cancels the block place event.

dimension: Dimension

Remarks

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

face: Direction

Remarks

The block face that was placed onto.

permutationToPlace: BlockPermutation

Remarks

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

Remarks

The player that is placing this block.