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

Hierarchy (View Summary)

Constructors

Properties

block: Block

Block currently in the world at the location of 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 face of the block that the new block is being placed on.

faceLocation: Vector3

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

permutationToPlace: BlockPermutation

The block permutation that will be placed if the event is not cancelled.

player: Player

Player that is placing the block for this event.