public interface Furnace extends BlockState, ContainerBlock
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
short getBurnTime()
void setBurnTime(short burnTime)
burnTime
- Burn timeshort getCookTime()
void setCookTime(short cookTime)
cookTime
- Cook timeFurnaceInventory getInventory()
InventoryHolder
getInventory
in interface InventoryHolder
Copyright © 2015. All rights reserved.