FluidBar

class FluidBar(height: Int, fluidHolder: FluidHolder, fluidContainer: NetworkedFluidContainer, capacity: Provider<Long>, type: Provider<FluidType?>, amount: Provider<Long>) : VerticalBar

A multi-item gui component for displaying fluid levels.

Constructors

Link copied to clipboard
constructor(height: Int, fluidHolder: FluidHolder, container: FluidContainer)
constructor(height: Int, fluidHolder: FluidHolder, fluidContainer: NetworkedFluidContainer, capacity: Provider<Long>, type: Provider<FluidType?>, amount: Provider<Long>)

Functions

Link copied to clipboard
open override fun get(): Item