Skip to main content

Pump

Pumps liquid from the environment into attached Tanks. For example, a pump located in the ocean will pump water when powered. It is a craftable and spawnable non-flammable solid.

It consumes 5 power per tick.

It cannot be resized.

At its default size (6x15x6) it has a durability of 1.

By default, its colour is #000000.

It requires 2 Iron, 1 Quartz, and 1 Tank to be crafted.

Configurables


LiquidToPump

The name of the liquid to extract using the pump. It is a string.

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.


Loop(tickInterval)

Fires when the object is updated by the game loop.

The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20, this will be 1 / 20 (or just 0.05). If the tick rate commands are accessible, running them will change this value. It is a number.