public class FurnaceSmeltingCategory extends FurnaceRecipeCategory<SmeltingRecipe>
arrow, backgroundLocation, flame, fuelSlot, inputSlot, outputSlot
Constructor and Description |
---|
FurnaceSmeltingCategory(IGuiHelper guiHelper) |
Modifier and Type | Method and Description |
---|---|
void |
drawExtras(net.minecraft.client.Minecraft minecraft)
Draw any extra elements 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,
SmeltingRecipe recipeWrapper)
Set the
IRecipeLayout properties from the IRecipeWrapper . |
void |
setRecipe(IRecipeLayout recipeLayout,
SmeltingRecipe recipeWrapper,
IIngredients ingredients)
|
drawAnimations, getIcon, getTooltipStrings
public FurnaceSmeltingCategory(IGuiHelper guiHelper)
public IDrawable getBackground()
IRecipeCategory
public void drawExtras(net.minecraft.client.Minecraft minecraft)
IRecipeCategory
drawExtras
in interface IRecipeCategory<SmeltingRecipe>
drawExtras
in class BlankRecipeCategory<SmeltingRecipe>
for a simple class for drawing things.
,
for useful functions.
public java.lang.String getTitle()
IRecipeCategory
public java.lang.String getUid()
IRecipeCategory
public void setRecipe(IRecipeLayout recipeLayout, SmeltingRecipe recipeWrapper)
IRecipeCategory
IRecipeLayout
properties from the IRecipeWrapper
.setRecipe
in interface IRecipeCategory<SmeltingRecipe>
setRecipe
in class BlankRecipeCategory<SmeltingRecipe>
public void setRecipe(IRecipeLayout recipeLayout, SmeltingRecipe 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