BlockState, InventoryHolder, Lockable, Metadatable, Nameablepublic interface Furnace extends BlockState, InventoryHolder, Lockable, Nameable
| Modifier and Type | Method | Description |
|---|---|---|
short |
getBurnTime() |
Get burn time.
|
short |
getCookTime() |
Get cook time.
|
FurnaceInventory |
getInventory() |
Get the object's inventory.
|
void |
setBurnTime(short burnTime) |
Set burn time.
|
void |
setCookTime(short cookTime) |
Set cook time.
|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameshort getBurnTime()
void setBurnTime(short burnTime)
burnTime - Burn timeshort getCookTime()
void setCookTime(short cookTime)
cookTime - Cook timeFurnaceInventory getInventory()
InventoryHoldergetInventory in interface InventoryHolder