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, setRecipe
public static final int recipeWidth
public static final int recipeHeight
public ItemDescriptionRecipeCategory(IGuiHelper guiHelper)
public java.lang.String getUid()
IRecipeCategory
public java.lang.String getTitle()
IRecipeCategory
@Nullable public IDrawable getIcon()
IRecipeCategory
IModRegistry.addRecipeCategoryCraftingItem(ItemStack, String...)
getIcon
in interface IRecipeCategory<ItemDescriptionRecipe>
getIcon
in class BlankRecipeCategory<ItemDescriptionRecipe>
public IDrawable getBackground()
IRecipeCategory
public void setRecipe(IRecipeLayout recipeLayout, ItemDescriptionRecipe recipeWrapper, IIngredients ingredients)
IRecipeCategory
recipeLayout
- the layout that needs its properties set.recipeWrapper
- the recipeWrapper, for extra information.ingredients
- the ingredients, already set by the recipeWrapper