====== cFurnaceEntity ======
This class represents a furnace block entity in the world. An object of this class can be created from scratch when generating chunks ([[API:Plugin:OnChunkGenerated|OnChunkGenerated]] and [[API:Plugin:OnChunkGenerating|OnChunkGenerating]] hooks)

===== Ancestors =====
This class inherits from the following classes:
  * [[cBlockEntity|cBlockEntity]]
  * [[cBlockEntityWithItems|cBlockEntityWithItems]]

===== Constants =====
To future-proof your plugin, use the following constants rather than hard-coded numbers:
^ Constant ^ Note ^
| fsInput | Index of the input slot, when using the GetSlot() / SetSlot() functions |
| fsFuel | Index of the fuel slot, when using the GetSlot() / SetSlot() functions |
| fsOutput | Index of the output slot, when using the GetSlot() / SetSlot() functions |
| ContentsWidth | Width (X) of the [[cItemGrid|cItemGrid]] representing the contents |
| ContentsHeight | Height (Y) of the [[cItemGrid|cItemGrid]] representing the contents |

===== Functions =====
In addition to all the functions in [[cBlockEntity|cBlockEntity]] and [[cBlockEntityWithItems|cBlockEntitiesWithItems]], the following functions are available:
^ Function ^ Parameters ^ Returns ^ Notes ^
| () | BlockX, BlockY, BlockZ, BlockType, BlockMeta | cFurnaceEntity | Creates a new cFurnaceEntity at the specified coords and the specified block type / meta |
| GetCookTimeLeft | | number | Returns the time until the current item finishes cooking, in ticks |
| GetFuelBurnTimeLeft | | number | Returns the time until the current fuel is depleted, in ticks |
| GetFuelSlot | | [[cItem|cItem]] | Returns the item in the fuel slot |
| GetInputSlot | | [[cItem|cItem]] | Returns the item in the input slot |
| GetOutputSlot | | [[cItem|cItem]] | Returns the item in the output slot |
| GetTimeCooked | | number | Returns the time that the current item has been cooking, in ticks |
| HasFuelTimeLeft | | bool | Returns true if there's time before the current fuel is depleted |
| SetFuelSlot | [[cItem|cItem]] | | Sets the item in the fuel slot |
| SetInputSlot | [[cItem|cItem]] | | Sets the item in the input slot |
| SetOutputSlot | [[cItem|cItem]] | | Sets the item in the output slot |
