toggle menu
nova-parent
0.17-alpha.36
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.ui.menu
/
EnergyBar
Energy
Bar
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.
Members
Constructors
Energy
Bar
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
get
Link copied to clipboard
open
override
fun
get
(
)
:
Item