FluidBar
class FluidBar(height: Int, fluidHolder: FluidHolder, fluidContainer: NetworkedFluidContainer, capacity: Provider<Long>, type: Provider<FluidType?>, amount: Provider<Long>, items: Map<FluidType?, Provider<ItemType>> = DEFAULT_FLUID_BAR_ITEMS) : VerticalBar
Deprecated
A replacement UI component for InvUI's DSL API is available. The DSL API should be preferred as it works better with reactive features such as config- and registry reloading. The replacement UI components can typically be found as lowerCamelCase functions, e.g. `BackItem(...)` -> `backItem(...)`. This legacy UI component will be removed in a future Nova version.
A multi-item gui component for displaying fluid levels.
Constructors
Link copied to clipboard
constructor(height: Int, fluidHolder: FluidHolder, fluidContainer: NetworkedFluidContainer, capacity: Provider<Long>, type: Provider<FluidType?>, amount: Provider<Long>, items: Map<FluidType?, Provider<ItemType>> = DEFAULT_FLUID_BAR_ITEMS)
constructor(height: Int, fluidHolder: FluidHolder, container: FluidContainer, items: Map<FluidType?, Provider<ItemType>> = DEFAULT_FLUID_BAR_ITEMS)