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 category unique 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.
|
@Nonnull public java.lang.Class<FuelRecipe> getRecipeClass()
IRecipeHandlergetRecipeClass in interface IRecipeHandler<FuelRecipe>@Nonnull public java.lang.String getRecipeCategoryUid()
IRecipeHandlergetRecipeCategoryUid in interface IRecipeHandler<FuelRecipe>@Nonnull public IRecipeWrapper getRecipeWrapper(@Nonnull FuelRecipe recipe)
IRecipeHandlergetRecipeWrapper in interface IRecipeHandler<FuelRecipe>public boolean isRecipeValid(@Nonnull
FuelRecipe recipe)
IRecipeHandlerisRecipeValid in interface IRecipeHandler<FuelRecipe>