2ab655238c
* Update Javadoc of block state classes to better match implementation behaviour. * Add Container interface which provides access to the snapshot inventory. By: Lukas Hennig <lukas@wirsindwir.de>
45 lines
792 B
Java
45 lines
792 B
Java
package org.bukkit.block;
|
|
|
|
import org.bukkit.Nameable;
|
|
import org.bukkit.inventory.FurnaceInventory;
|
|
|
|
/**
|
|
* Represents a captured state of a furnace.
|
|
*/
|
|
public interface Furnace extends Container, 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);
|
|
|
|
@Override
|
|
public FurnaceInventory getInventory();
|
|
|
|
@Override
|
|
public FurnaceInventory getSnapshotInventory();
|
|
}
|