Class: PlayerPlaceBlockBeforeEvent
Contains information regarding an event before a player places a block.
Extends
Constructors
new PlayerPlaceBlockBeforeEvent()
private
new PlayerPlaceBlockBeforeEvent():PlayerPlaceBlockBeforeEvent
Returns
Overrides
Properties
block
readonly
block:Block
Remarks
Block impacted by this event.
Inherited from
cancel
cancel:
boolean
Remarks
If set to true, cancels the block place event.
dimension
readonly
dimension:Dimension
Remarks
Dimension that contains the block that is the subject of this event.
Inherited from
face
readonly
face:Direction
Remarks
The face of the block that the new block is being placed on.
faceLocation
readonly
faceLocation:Vector3
Remarks
Location relative to the bottom north-west corner of the block where the new block is being placed onto.
permutationBeingPlaced
readonly
permutationBeingPlaced:BlockPermutation
Remarks
The block permutation that is being placed.
player
readonly
player:Player
Remarks
Player that is placing the block for this event.