Files
DeltaZern/paper-api/src/main/java/org/bukkit/block/Furnace.java
T
Bukkit/Spigot 2ab655238c Improvements to BlockStates
* 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>
2017-08-05 14:35:40 +10:00

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();
}