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