Skip to main content

Piston

More accurately a linear actuator. There is a rail among us.

It is a craftable and spawnable non-flammable solid.

Here is a list of possible sizes that reach the maximum malleability (64) that have integer components: 1x64x1, 1x32x2, 1x16x4, 1x8x8, 2x16x2, 2x8x4, 4x4x4, 8x4x2

At its default size (2x2x2) it has a durability of 1, at its maximum size it has a durability of 3.

By default, its colour is #edeaea.

It requires 5 Gear, 4 Rubber, and 3 Wire to be crafted.

Methods


SetPosition()

Configurables


Position1

Determines the position of the first state of the piston. It is a number. It ranges between 0 and 100.


Position2

Determines the position of the second state of the piston. It is a number. It ranges between 0 and 100.


Speed

Determines the speed of the piston. It is a number. It ranges between 0 and 50.

Events


Configured(configurerId)

Fires when the object is configured.

The configurerId parameter is the UserId of the player who configured the object. It is a number.