public interface ImmutableFurnaceData extends ImmutableDataManipulator<ImmutableFurnaceData,FurnaceData>
ImmutableDataManipulator
representing the Furnace
.Modifier and Type | Method and Description |
---|---|
ImmutableBoundedValue<Integer> |
maxBurnTime()
Gets the
ImmutableBoundedValue for the maximum amount of fuel that can be supplied
with the used fuel item. |
ImmutableBoundedValue<Integer> |
maxCookTime()
Gets the
ImmutableBoundedValue for the total time the ItemStack has to cook until it is cooked. |
ImmutableBoundedValue<Integer> |
passedBurnTime()
Gets the
ImmutableBoundedValue for the already passed burn time of the Furnace . |
ImmutableBoundedValue<Integer> |
passedCookTime()
|
asMutable, copy, with, with
compareTo
toContainer
ImmutableBoundedValue<Integer> passedBurnTime()
ImmutableBoundedValue
for the already passed burn time of the Furnace
. When the passedBurnTime()
is equal to the maxBurnTime()
, the
current used fuel is depleted.ImmutableBoundedValue<Integer> maxBurnTime()
ImmutableBoundedValue
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()
.ImmutableBoundedValue<Integer> passedCookTime()
ImmutableBoundedValue
for the already passed cook time of the ItemStack
in the Furnace
. When this is equal
to the maxCookTime()
, the ItemStack
is
cooked.ImmutableBoundedValue<Integer> maxCookTime()
ImmutableBoundedValue
for the total time the ItemStack
has to cook until it is cooked.