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 face of the block that the new block is being placed on.

faceLocation: Vector3

Remarks

Location relative to the bottom north-west corner of the block where the new block is being placed onto.

permutationBeingPlaced: BlockPermutation

Remarks

The block permutation that is being placed.

player: Player

Remarks

Player that is placing the block for this event.