public class ItemDescriptionRecipeCategory extends BlankRecipeCategory<ItemDescriptionRecipe>
| Modifier and Type | Field and Description |
|---|---|
static int |
recipeHeight |
static int |
recipeWidth |
| Constructor and Description |
|---|
ItemDescriptionRecipeCategory(IGuiHelper guiHelper) |
| Modifier and Type | Method and Description |
|---|---|
IDrawable |
getBackground()
Returns the drawable background for a single recipe in this category.
|
IDrawable |
getIcon()
Optional icon for the category tab.
|
java.lang.String |
getTitle()
Returns the localized name for this recipe type.
|
java.lang.String |
getUid()
Returns a unique ID for this recipe category.
|
void |
setRecipe(IRecipeLayout recipeLayout,
ItemDescriptionRecipe recipeWrapper,
IIngredients ingredients)
|
drawAnimations, drawExtras, getTooltipStrings, setRecipepublic static final int recipeWidth
public static final int recipeHeight
public ItemDescriptionRecipeCategory(IGuiHelper guiHelper)
public java.lang.String getUid()
IRecipeCategorypublic java.lang.String getTitle()
IRecipeCategory@Nullable public IDrawable getIcon()
IRecipeCategoryIModRegistry.addRecipeCategoryCraftingItem(ItemStack, String...)getIcon in interface IRecipeCategory<ItemDescriptionRecipe>getIcon in class BlankRecipeCategory<ItemDescriptionRecipe>public IDrawable getBackground()
IRecipeCategorypublic void setRecipe(IRecipeLayout recipeLayout, ItemDescriptionRecipe recipeWrapper, IIngredients ingredients)
IRecipeCategoryrecipeLayout - the layout that needs its properties set.recipeWrapper - the recipeWrapper, for extra information.ingredients - the ingredients, already set by the recipeWrapper