World & blocks · Check
Is the piston block extended
True when the piston block is extended. Paper: the value of the 'extended' property.
m.bdata.piston.is_extended
In a flow
“When a player right-clicks → If Is the piston block extended → Answer Yes!”
When a player right-clicks → If Is the piston block extended → Answer Yes!
What it does
True when the piston block is extended. Paper: the value of the 'extended' property. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under World & blocks in the palette.
When to use it
Use it when the flow needs to: true when the piston block is extended. Paper: the value of the 'extended' property.
When not to
To pick between more than two outcomes, Switch or Random reads better than a chain of checks.
Typical wiring
Sockets: settings you can wire
- Block Location
-
Where the piston block is: wire a location in, like Location from When a player breaks a block, or type world x y z.
What goes there: Type it in the side panel, or wire in a location. e.g. world 10.5 64 -3.2
If it's empty: Optional. Left empty and unwired, the step runs without it.