How a piston stands, as Mojang's BlockPistonState.
Type in @minecraft/server
How a piston stands, as Mojang’s BlockPistonState.
import type { BlockPistonState } from '@minecraft/server';Definition
Section titled “Definition”export type BlockPistonState = "Expanded" | "Expanding" | "Retracted" | "Retracting";