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
compareTo
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.MutableBoundedValue<Integer> maxBurnTime()
MutableBoundedValue
for the maximum amount of fuel that can be supplied with
the used fuel item.
It 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()
.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.MutableBoundedValue<Integer> maxCookTime()
MutableBoundedValue
for the total time the ItemStack
has to cook until it is cooked.
It 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()
.