public class CraftingRecipeCategory extends BlankRecipeCategory<IRecipeWrapper>
Constructor and Description |
---|
CraftingRecipeCategory(IGuiHelper guiHelper) |
Modifier and Type | Method and Description |
---|---|
IDrawable |
getBackground()
Returns the drawable background for a single recipe in this category.
|
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,
IRecipeWrapper recipeWrapper)
Set the
IRecipeLayout properties from the IRecipeWrapper . |
void |
setRecipe(IRecipeLayout recipeLayout,
IRecipeWrapper recipeWrapper,
IIngredients ingredients)
|
drawAnimations, drawExtras, getIcon, getTooltipStrings
public static final int width
public static final int height
public CraftingRecipeCategory(IGuiHelper guiHelper)
public java.lang.String getUid()
IRecipeCategory
public java.lang.String getTitle()
IRecipeCategory
public IDrawable getBackground()
IRecipeCategory
public void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper recipeWrapper)
IRecipeCategory
IRecipeLayout
properties from the IRecipeWrapper
.setRecipe
in interface IRecipeCategory<IRecipeWrapper>
setRecipe
in class BlankRecipeCategory<IRecipeWrapper>
public void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper 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