Script API - v1.19.70
    Preparing search index...

    When present, this block has piston-like behavior. Contains additional properties for discovering block piston state.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    isExpanded: boolean

    Whether the piston is fully expanded.

    This property can throw when used.

    isExpanding: boolean

    Whether the piston is in the process of expanding.

    This property can throw when used.

    isMoving: boolean

    Whether the piston is in the process of expanding or retracting.

    This property can throw when used.

    isRetracted: boolean

    Whether the piston is fully retracted.

    This property can throw when used.

    isRetracting: boolean

    Whether the piston is in the process of retracting.

    This property can throw when used.

    typeId: string

    Identifier of this component.

    componentId: "minecraft:piston" = 'minecraft:piston'

    Identifier of this component.

    Methods