EnergyBar

class EnergyBar(height: Int, energy: Provider<Long>, maxEnergy: Provider<Long>, energyPlus: Provider<Long>, energyMinus: Provider<Long>) : VerticalBar

A multi-item gui component for displaying energy levels.

Constructors

Link copied to clipboard
constructor(height: Int, energyHolder: DefaultEnergyHolder)
constructor(height: Int, energy: Provider<Long>, maxEnergy: Provider<Long>, energyPlus: Provider<Long>, energyMinus: Provider<Long>)

Functions

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