public class DebugRecipeHandler extends java.lang.Object implements IRecipeHandler<DebugRecipe>
Constructor and Description |
---|
DebugRecipeHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRecipeCategoryUid()
Returns this recipe's unique category id.
|
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()
IRecipeHandler
getRecipeClass
in interface IRecipeHandler<DebugRecipe>
public java.lang.String getRecipeCategoryUid()
IRecipeHandler
getRecipeCategoryUid
in interface IRecipeHandler<DebugRecipe>
public java.lang.String getRecipeCategoryUid(DebugRecipe recipe)
IRecipeHandler
getRecipeCategoryUid
in interface IRecipeHandler<DebugRecipe>
IRecipeCategory.getUid()
,
VanillaRecipeCategoryUid
public IRecipeWrapper getRecipeWrapper(DebugRecipe recipe)
IRecipeHandler
getRecipeWrapper
in interface IRecipeHandler<DebugRecipe>
public boolean isRecipeValid(DebugRecipe recipe)
IRecipeHandler
isRecipeValid
in interface IRecipeHandler<DebugRecipe>