toggle menu
nova-parent
0.17-alpha.39
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world.item.behavior
/
Chargeable
/
Default
/
setEnergy
set
Energy
open
override
fun
setEnergy
(
itemStack
:
ItemStack
,
energy
:
Long
)
Sets the current amount of energy stored in the given
itemStack
to
energy
.