Class BeforePistonActivateEventBeta

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

Hierarchy

Constructors

Properties

block: Block

Block impacted by this event.

cancel: boolean

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

dimension: Dimension

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

isExpanding: boolean

True if the piston is the process of expanding.

Contains additional properties and details of the piston.