toggle menu
nova-parent
0.17-alpha.39
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world.item.behavior
/
Consumable
/
Consumable
Consumable
constructor
(
nutrition
:
Int
,
saturation
:
Float
,
canAlwaysEat
:
Boolean
,
consumeTime
:
Int
,
remains
:
ItemStack
?
=
null
,
possibleEffects
:
Map
<
PotionEffect
,
Float
>
=
emptyMap()
)
constructor
(
nutrition
:
Provider
<
Int
>
,
saturation
:
Provider
<
Float
>
,
canAlwaysEat
:
Provider
<
Boolean
>
,
consumeTime
:
Provider
<
Int
>
,
remains
:
Provider
<
ItemStack
?
>
,
possibleEffects
:
Provider
<
Map
<
PotionEffect
,
Float
>
>
)