public interface ICustomCraftingCategoryExtension extends ICraftingCategoryExtension
VanillaRecipeCategoryUid.CRAFTING
recipe category.Modifier and Type | Method and Description |
---|---|
void |
setRecipe(IRecipeLayout recipeLayout,
IIngredients ingredients)
This is called to override the vanilla crafting category's
IRecipeCategory.setRecipe(IRecipeLayout, Object, IIngredients)
Note that when this is called, the IGuiItemStackGroup has already been init with the crafting grid layout for convenience. |
getRegistryName, getSize
drawInfo, getTooltipStrings, handleClick, setIngredients
void setRecipe(IRecipeLayout recipeLayout, IIngredients ingredients)
IRecipeCategory.setRecipe(IRecipeLayout, Object, IIngredients)
Note that when this is called, the IGuiItemStackGroup
has already been init with the crafting grid layout for convenience.
Set the IRecipeLayout
properties from this IRecipeCategoryExtension
and IIngredients
.recipeLayout
- the layout that needs its properties set.ingredients
- the ingredients, already set by the recipeWrapper