public interface FurnaceData extends DataManipulator<FurnaceData,ImmutableFurnaceData>
Furnace
.Modifier and Type | Method and Description |
---|---|
MutableBoundedValue<Integer> |
maxCookTime()
Gets the
MutableBoundedValue for the cook time of the
Item that should be cooked. |
MutableBoundedValue<Integer> |
remainingBurnTime()
Gets the
MutableBoundedValue for the remaining burn time of the
Furnace . |
MutableBoundedValue<Integer> |
remainingCookTime()
Gets the
MutableBoundedValue for the remaining cook time of the
Furnace . |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
compareTo
toContainer
MutableBoundedValue<Integer> remainingBurnTime()
MutableBoundedValue
for the remaining burn time of the
Furnace
.MutableBoundedValue<Integer> remainingCookTime()
MutableBoundedValue
for the remaining cook time of the
Furnace
.
The remainingCookTime()
is the difference of maxCookTime()
and
the time the item has already been cooked.
MutableBoundedValue<Integer> maxCookTime()
MutableBoundedValue
for the cook time of the
Item
that should be cooked.
This is called "maxCookTime" because the client calculates
remainingCookTime()
from the "maxCookTime" minus the
time the item cooked already.
This is the maximum of remainingCookTime()
.