public interface Furnace extends BlockState, InventoryHolder, Lockable, Nameable
Modifier and Type | Method and 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, update
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
short getBurnTime()
void setBurnTime(short burnTime)
burnTime
- Burn timeshort getCookTime()
void setCookTime(short cookTime)
cookTime
- Cook timeFurnaceInventory getInventory()
InventoryHolder
getInventory
in interface InventoryHolder
Copyright © 2016. All rights reserved.