public interface FurnaceData extends DataManipulator<FurnaceData,ImmutableFurnaceData>
Furnace
.Modifier and Type | Method and Description |
---|---|
MutableBoundedValue<Integer> |
maxBurnTime()
Gets the
MutableBoundedValue for the maximum amount of fuel that
can be supplied with the used fuel item. |
MutableBoundedValue<Integer> |
maxCookTime()
Gets the
MutableBoundedValue for the total time the
ItemStack has to cook until it is cooked. |
MutableBoundedValue<Integer> |
passedBurnTime()
Gets the
MutableBoundedValue for the already passed burn time of
the Furnace . |
MutableBoundedValue<Integer> |
passedCookTime()
|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
MutableBoundedValue<Integer> passedBurnTime()
MutableBoundedValue
for the already passed burn time of
the Furnace
. When this is equal to the maxBurnTime()
,
the current used fuel is depleted.Keys.PASSED_BURN_TIME
MutableBoundedValue<Integer> maxBurnTime()
MutableBoundedValue
for the maximum amount of fuel that
can be supplied with the used fuel item.
This is represented by the flame icon in the Furnace
, if the
flame is 100% filled the value is exactly this one. So its the maximum
of the passedBurnTime()
.
Keys.MAX_BURN_TIME
MutableBoundedValue<Integer> passedCookTime()
MutableBoundedValue
for the already passed cook time of
the ItemStack
in the Furnace
. When this is equal to the
maxCookTime()
, the ItemStack
is cooked.Keys.PASSED_COOK_TIME
MutableBoundedValue<Integer> maxCookTime()
MutableBoundedValue
for the total time the
ItemStack
has to cook until it is cooked.
This is represented by the arrow icon in the Furnace
, if the
arrow is 100% filled the value is exact this one. So its the maximum of
the passedCookTime()
.
Keys.MAX_COOK_TIME