0da3e1a443
By: md_5 <git@md-5.net>
42 lines
764 B
Java
42 lines
764 B
Java
package org.bukkit.block;
|
|
|
|
import org.bukkit.Nameable;
|
|
import org.bukkit.inventory.FurnaceInventory;
|
|
import org.bukkit.inventory.InventoryHolder;
|
|
|
|
/**
|
|
* Represents a furnace.
|
|
*/
|
|
public interface Furnace extends BlockState, InventoryHolder, Lockable, Nameable {
|
|
|
|
/**
|
|
* Get burn time.
|
|
*
|
|
* @return Burn time
|
|
*/
|
|
public short getBurnTime();
|
|
|
|
/**
|
|
* Set burn time.
|
|
*
|
|
* @param burnTime Burn time
|
|
*/
|
|
public void setBurnTime(short burnTime);
|
|
|
|
/**
|
|
* Get cook time.
|
|
*
|
|
* @return Cook time
|
|
*/
|
|
public short getCookTime();
|
|
|
|
/**
|
|
* Set cook time.
|
|
*
|
|
* @param cookTime Cook time
|
|
*/
|
|
public void setCookTime(short cookTime);
|
|
|
|
public FurnaceInventory getInventory();
|
|
}
|