public class TippedArrowRecipeHandler extends java.lang.Object implements IRecipeHandler<TippedArrowRecipeWrapper>
Constructor and Description |
---|
TippedArrowRecipeHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRecipeCategoryUid()
Returns this recipe's unique category id.
|
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()
IRecipeHandler
getRecipeClass
in interface IRecipeHandler<TippedArrowRecipeWrapper>
public java.lang.String getRecipeCategoryUid()
IRecipeHandler
getRecipeCategoryUid
in interface IRecipeHandler<TippedArrowRecipeWrapper>
public java.lang.String getRecipeCategoryUid(TippedArrowRecipeWrapper recipe)
IRecipeHandler
getRecipeCategoryUid
in interface IRecipeHandler<TippedArrowRecipeWrapper>
IRecipeCategory.getUid()
,
VanillaRecipeCategoryUid
public IRecipeWrapper getRecipeWrapper(TippedArrowRecipeWrapper recipe)
IRecipeHandler
getRecipeWrapper
in interface IRecipeHandler<TippedArrowRecipeWrapper>
public boolean isRecipeValid(TippedArrowRecipeWrapper recipe)
IRecipeHandler
isRecipeValid
in interface IRecipeHandler<TippedArrowRecipeWrapper>