public class BrewingRecipeHandler extends java.lang.Object implements IRecipeHandler<BrewingRecipeWrapper>
| Constructor and Description |
|---|
BrewingRecipeHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRecipeCategoryUid()
Returns this recipe's category unique id.
|
java.lang.Class<BrewingRecipeWrapper> |
getRecipeClass()
Returns the class of the Recipe handled by this IRecipeHandler.
|
IRecipeWrapper |
getRecipeWrapper(BrewingRecipeWrapper recipe)
Returns a recipe wrapper for the given recipe.
|
boolean |
isRecipeValid(BrewingRecipeWrapper recipe)
Returns true if a recipe is valid and can be used.
|
@Nonnull public java.lang.Class<BrewingRecipeWrapper> getRecipeClass()
IRecipeHandlergetRecipeClass in interface IRecipeHandler<BrewingRecipeWrapper>@Nonnull public java.lang.String getRecipeCategoryUid()
IRecipeHandlergetRecipeCategoryUid in interface IRecipeHandler<BrewingRecipeWrapper>@Nonnull public IRecipeWrapper getRecipeWrapper(@Nonnull BrewingRecipeWrapper recipe)
IRecipeHandlergetRecipeWrapper in interface IRecipeHandler<BrewingRecipeWrapper>public boolean isRecipeValid(@Nonnull
BrewingRecipeWrapper recipe)
IRecipeHandlerisRecipeValid in interface IRecipeHandler<BrewingRecipeWrapper>