public interface Furnace extends TileEntityCarrier
Modifier and Type | Method and Description |
---|---|
default FurnaceData |
getFurnaceData()
Gets this furnace's
FurnaceData . |
default MutableBoundedValue<Integer> |
maxBurnTime()
Gets the
MutableBoundedValue for the maximum amount of fuel that
can be supplied with the used fuel item. |
default MutableBoundedValue<Integer> |
maxCookTime()
Gets the
MutableBoundedValue for the total time the item stack
has to cook until it is cooked. |
default MutableBoundedValue<Integer> |
passedBurnTime()
Gets the
MutableBoundedValue for the already passed burn time. |
default MutableBoundedValue<Integer> |
passedCookTime()
Gets the
MutableBoundedValue for the already passed cook time of
the item stack in this furnace. |
boolean |
smelt()
Attempts to smelt the current items if possible.
|
getInventory
createArchetype, getBlock, getLocatableBlock, getType, isValid, setValid
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getInventory, getLocation
boolean smelt()
This will work if there is a compatible recipe.
default FurnaceData getFurnaceData()
FurnaceData
.default MutableBoundedValue<Integer> passedBurnTime()
MutableBoundedValue
for the already passed burn time.FurnaceData.passedBurnTime()
default MutableBoundedValue<Integer> maxBurnTime()
MutableBoundedValue
for the maximum amount of fuel that
can be supplied with the used fuel item.FurnaceData.maxBurnTime()
default MutableBoundedValue<Integer> passedCookTime()
MutableBoundedValue
for the already passed cook time of
the item stack in this furnace.FurnaceData.passedCookTime()
default MutableBoundedValue<Integer> maxCookTime()
MutableBoundedValue
for the total time the item stack
has to cook until it is cooked.FurnaceData.maxCookTime()