mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
@@ -28,6 +28,8 @@ public interface Furnace extends Container, Nameable {
|
|||||||
/**
|
/**
|
||||||
* Get cook time.
|
* Get cook time.
|
||||||
*
|
*
|
||||||
|
* This is the amount of time the item has been cooking for.
|
||||||
|
*
|
||||||
* @return Cook time
|
* @return Cook time
|
||||||
*/
|
*/
|
||||||
public short getCookTime();
|
public short getCookTime();
|
||||||
@@ -35,10 +37,30 @@ public interface Furnace extends Container, Nameable {
|
|||||||
/**
|
/**
|
||||||
* Set cook time.
|
* Set cook time.
|
||||||
*
|
*
|
||||||
|
* This is the amount of time the item has been cooking for.
|
||||||
|
*
|
||||||
* @param cookTime Cook time
|
* @param cookTime Cook time
|
||||||
*/
|
*/
|
||||||
public void setCookTime(short cookTime);
|
public void setCookTime(short cookTime);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get cook time total.
|
||||||
|
*
|
||||||
|
* This is the amount of time the item is required to cook for.
|
||||||
|
*
|
||||||
|
* @return Cook time total
|
||||||
|
*/
|
||||||
|
public int getCookTimeTotal();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set cook time.
|
||||||
|
*
|
||||||
|
* This is the amount of time the item is required to cook for.
|
||||||
|
*
|
||||||
|
* @param cookTimeTotal Cook time total
|
||||||
|
*/
|
||||||
|
public void setCookTimeTotal(int cookTimeTotal);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FurnaceInventory getInventory();
|
public FurnaceInventory getInventory();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user