public interface ImmutableFurnaceData extends ImmutableDataManipulator<ImmutableFurnaceData,FurnaceData>
ImmutableDataManipulator
representing the Furnace
information such as the remainingBurnTime()
and
remainingCookTime()
.Modifier and Type | Method and Description |
---|---|
ImmutableBoundedValue<Integer> |
maxCookTime()
Gets the
ImmutableBoundedValue for the cook time of the
Item that should be cooked. |
ImmutableBoundedValue<Integer> |
remainingBurnTime()
Gets the
ImmutableBoundedValue for the remaining burn time of the
Furnace . |
ImmutableBoundedValue<Integer> |
remainingCookTime()
Gets the
ImmutableBoundedValue for the remaining cook time of the
Furnace . |
asMutable, copy, with, with
compareTo
toContainer
ImmutableBoundedValue<Integer> remainingBurnTime()
ImmutableBoundedValue
for the remaining burn time of the
Furnace
.ImmutableBoundedValue<Integer> remainingCookTime()
ImmutableBoundedValue
for the remaining cook time of the
Furnace
.
The remainingCookTime()
is the difference of maxCookTime()
and
the time the item has already been cooked.
ImmutableBoundedValue<Integer> maxCookTime()
ImmutableBoundedValue
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()
.