Add fuel related methods to BrewingStand API

By: lapry <lapry34@gmail.com>
This commit is contained in:
Bukkit/Spigot
2016-03-01 08:30:03 +11:00
parent ef7bd3a4ab
commit 128ff503e9
2 changed files with 30 additions and 0 deletions

View File

@@ -22,5 +22,19 @@ public interface BrewingStand extends BlockState, InventoryHolder {
*/
void setBrewingTime(int brewTime);
/**
* Get the level of current fuel for brewing.
*
* @return The fuel level
*/
int getFuelLevel();
/**
* Set the level of current fuel for brewing.
*
* @param level fuel level
*/
void setFuelLevel(int level);
public BrewerInventory getInventory();
}