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