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