Furnace
High-level API
Device name:
furnaceProvided by furnaces, smokers and blast furnaces connected to a bus interface. Times are in ticks. Slots are available through the item handler device.
Methods
getBurnDuration():numberGets how long the current fuel burns in total.
- Returns the burn time of the last consumed fuel.
getBurnTime():numberGets how much longer the current fuel burns.
- Returns the remaining burn time.
getCookTime():numberGets how long the current item has been cooking.
- Returns the cooking progress.
getCookTimeTotal():numberGets how long the current item needs to cook.
- Returns the time the item needs.
isBurning():booleanGets whether the furnace is burning fuel.
- Returns whether fuel is currently burning.
Mid-level API
Device name:
FRNACETimes are two bytes, low byte first, capped at 65535.
Methods
1 getBurnTimeGets how much longer the current fuel burns.
- Returns two bytes, the remaining burn time.
2 getBurnDurationGets how long the current fuel burns in total.
- Returns two bytes, the burn time of the last consumed fuel.
3 getCookTimeGets how long the current item has been cooking.
- Returns two bytes, the cooking progress.
4 getCookTimeTotalGets how long the current item needs to cook.
- Returns two bytes, the time the item needs.
5 isBurningGets whether the furnace is burning fuel.
- Returns one byte,
1 while fuel is currently burning, 0 otherwise.