public class FuelRecipeHandler extends java.lang.Object implements IRecipeHandler<FuelRecipe>
| Constructor and Description |
|---|
FuelRecipeHandler() |
| Modifier and Type | Method and Description |
|---|---|
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()
IRecipeHandlergetRecipeClass in interface IRecipeHandler<FuelRecipe>public java.lang.String getRecipeCategoryUid(FuelRecipe recipe)
IRecipeHandlergetRecipeCategoryUid in interface IRecipeHandler<FuelRecipe>IRecipeCategory.getUid(),
VanillaRecipeCategoryUidpublic IRecipeWrapper getRecipeWrapper(FuelRecipe recipe)
IRecipeHandlergetRecipeWrapper in interface IRecipeHandler<FuelRecipe>public boolean isRecipeValid(FuelRecipe recipe)
IRecipeHandlerisRecipeValid in interface IRecipeHandler<FuelRecipe>