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