Private constructorReadonly blockBlock instance that this component pertains to.
Readonly isWhether the piston is in the process of expanding or retracting.
This property can throw when used.
Readonly stateThe current state of the piston.
This property can throw when used.
Readonly typeIdentifier of the component.
Static Readonly component
When present, this block has piston-like behavior. Contains additional properties for discovering block piston state.