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