public interface IRecipeCategory
| 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.
|
@Nonnull java.lang.String getUid()
@Nonnull java.lang.String getTitle()
@Nonnull IDrawable getBackground()
void drawExtras(net.minecraft.client.Minecraft minecraft)
void drawAnimations(net.minecraft.client.Minecraft minecraft)
void setRecipe(@Nonnull
IRecipeLayout recipeLayout,
@Nonnull
IRecipeWrapper recipeWrapper)