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