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