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, getTooltipStringspublic static final int width
public static final int height
public CraftingRecipeCategory(IGuiHelper guiHelper)
public java.lang.String getUid()
IRecipeCategorypublic java.lang.String getTitle()
IRecipeCategorypublic IDrawable getBackground()
IRecipeCategorypublic void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper recipeWrapper)
IRecipeCategoryIRecipeLayout properties from the IRecipeWrapper.setRecipe in interface IRecipeCategory<IRecipeWrapper>setRecipe in class BlankRecipeCategory<IRecipeWrapper>public void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper 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