Skip to main content

Faucet

Releases liquids and gases from Tanks. It is a craftable and spawnable non-flammable solid.

It generates 0 Fluid per tick.

Here is a list of possible sizes that reach the maximum malleability (8) that have integer components: 1x1x8, 1x2x4, 2x2x2

At its default size (1x2x1) it has a durability of 4, at its maximum size it has a durability of 7.

By default, its colour is #5b5d69.

It requires 1 Pipe and 1 Rubber to be crafted.

Methods


Dispense()

Dispenses a single item instantly.

Configurables


Filter

Which kinds of resources to drop, separated by commas. 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.