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