org.bukkit.block
Interface Furnace

All Superinterfaces:
BlockState, ContainerBlock, InventoryHolder, Metadatable

public interface Furnace
extends BlockState, ContainerBlock

Represents a furnace.


Method Summary
 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.
 
Methods inherited from interface org.bukkit.block.BlockState
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, setData, setRawData, setType, setTypeId, update, update
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

getBurnTime

short getBurnTime()
Get burn time.

Returns:
Burn time

setBurnTime

void setBurnTime(short burnTime)
Set burn time.

Parameters:
burnTime - Burn time

getCookTime

short getCookTime()
Get cook time.

Returns:
Cook time

setCookTime

void setCookTime(short cookTime)
Set cook time.

Parameters:
cookTime - Cook time

getInventory

FurnaceInventory getInventory()
Description copied from interface: InventoryHolder
Get the object's inventory.

Specified by:
getInventory in interface InventoryHolder
Returns:
The inventory.


Copyright © 2013. All Rights Reserved.