PistonType

Indicates the type of piston a piston block this property is applied to represents.

Entries

Link copied to clipboard

Normal pistons will push blocks on extension, and do nothing on retraction.

Link copied to clipboard

Sticky pistons will push blocks on extension, and pull blocks on retraction, as blocks will stick to them.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard