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 cannot be resized.

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

By default, its colour is #a3a2a5.

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(deltaTime)

Fires when the object is updated by the game loop.

The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1). It is a number.