Interface in @minecraft/server
A piston as its activation found it. Basalt gives its state as plain values: Mojang’s
getAttachedBlocks and getAttachedBlocksLocations aren’t bound.
import type { BlockPistonComponent } from '@minecraft/server';Properties
Section titled “Properties”isExpanded
Section titled “isExpanded”read-only
readonly isExpanded: boolean;isExpanding
Section titled “isExpanding”read-only
readonly isExpanding: boolean;isMoving
Section titled “isMoving”read-only
readonly isMoving: boolean;isRetracted
Section titled “isRetracted”read-only
readonly isRetracted: boolean;isRetracting
Section titled “isRetracting”read-only
readonly isRetracting: boolean;read-only
readonly state: BlockPistonState;Types