Class PistonActivateBeforeEventBeta

Contains information related to changes before a piston expands or retracts.

Hierarchy

Constructors

Properties

block: Block

Remarks

Block impacted by this event.

cancel: boolean

Remarks

If this is set to true within an event handler, the piston activation is canceled.

dimension: Dimension

Remarks

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

isExpanding: boolean

Remarks

True if the piston is the process of expanding.

Remarks

Contains additional properties and details of the piston.