Beta
When present, this block has piston-like behavior. Contains additional properties for discovering block piston state.
Readonly
Block instance that this component pertains to.
Whether the piston is fully expanded.
This property can throw when used.
Whether the piston is in the process of expanding.
Whether the piston is in the process of expanding or retracting.
Whether the piston is fully retracted.
Whether the piston is in the process of retracting.
Identifier of the component.
Static
Identifier of this component.
Retrieves a set of blocks that this piston is connected with.
This function can throw errors.
When present, this block has piston-like behavior. Contains additional properties for discovering block piston state.