Add recipeBrewTime
This commit is contained in:
@@ -22,6 +22,29 @@ public interface BrewingStand extends Container {
|
||||
*/
|
||||
void setBrewingTime(int brewTime);
|
||||
|
||||
// Paper start - Add recipeBrewTime
|
||||
/**
|
||||
* Sets the recipe time for the brewing process which is
|
||||
* used to compute the progress of the brewing process with
|
||||
* {@link #getBrewingTime()}.
|
||||
*
|
||||
* @param recipeBrewTime recipe brew time (in ticks)
|
||||
* @throws IllegalArgumentException if the recipe brew time is non-positive
|
||||
*/
|
||||
@org.jetbrains.annotations.ApiStatus.Experimental
|
||||
void setRecipeBrewTime(@org.jetbrains.annotations.Range(from = 1, to = Integer.MAX_VALUE) int recipeBrewTime);
|
||||
|
||||
/**
|
||||
* Gets the recipe time for the brewing process which is
|
||||
* used to compute the progress of the brewing process with
|
||||
* {@link #getBrewingTime()}.
|
||||
*
|
||||
* @return recipe brew time (in ticks)
|
||||
*/
|
||||
@org.jetbrains.annotations.ApiStatus.Experimental
|
||||
@org.jetbrains.annotations.Range(from = 1, to = Integer.MAX_VALUE) int getRecipeBrewTime();
|
||||
// Paper end - Add recipeBrewTime
|
||||
|
||||
/**
|
||||
* Get the level of current fuel for brewing.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user