Private constructorReadonly blockBlock impacted by this event.
Readonly dimensionDimension that contains the block that is the subject of this event.
Readonly isTrue if the piston is the process of expanding.
Readonly pistonContains additional properties and details of the piston.
Contains information related to changes to a piston expanding or retracting.
Example
pistonAfterEvent.ts