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()
IRecipeHandlergetRecipeClass in interface IRecipeHandler<SmeltingRecipe>public java.lang.String getRecipeCategoryUid(SmeltingRecipe recipe)
IRecipeHandlergetRecipeCategoryUid in interface IRecipeHandler<SmeltingRecipe>IRecipeCategory.getUid(),
VanillaRecipeCategoryUidpublic IRecipeWrapper getRecipeWrapper(SmeltingRecipe recipe)
IRecipeHandlergetRecipeWrapper in interface IRecipeHandler<SmeltingRecipe>public boolean isRecipeValid(SmeltingRecipe recipe)
IRecipeHandlerisRecipeValid in interface IRecipeHandler<SmeltingRecipe>