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