public class BrewingRecipeCategory extends java.lang.Object implements IRecipeCategory
| Constructor and Description |
|---|
BrewingRecipeCategory(IGuiHelper guiHelper) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawAnimations(net.minecraft.client.Minecraft minecraft)
Optionally draw animations like progress bars.
|
void |
drawExtras(net.minecraft.client.Minecraft minecraft)
Optionally draw anything else that might be necessary, icons or extra slots.
|
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 RecipeWrapper.
|
public BrewingRecipeCategory(IGuiHelper guiHelper)
@Nonnull public java.lang.String getUid()
IRecipeCategorygetUid in interface IRecipeCategory@Nonnull public java.lang.String getTitle()
IRecipeCategorygetTitle in interface IRecipeCategory@Nonnull public IDrawable getBackground()
IRecipeCategorygetBackground in interface IRecipeCategorypublic void drawExtras(@Nonnull
net.minecraft.client.Minecraft minecraft)
IRecipeCategorydrawExtras in interface IRecipeCategorypublic void drawAnimations(@Nonnull
net.minecraft.client.Minecraft minecraft)
IRecipeCategorydrawAnimations in interface IRecipeCategorypublic void setRecipe(@Nonnull
IRecipeLayout recipeLayout,
@Nonnull
IRecipeWrapper recipeWrapper)
IRecipeCategorysetRecipe in interface IRecipeCategory