public class SmeltingRecipe extends BlankRecipeWrapper
| Constructor and Description |
|---|
SmeltingRecipe(java.util.List<net.minecraft.item.ItemStack> inputs,
net.minecraft.item.ItemStack output) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawInfo(net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
Draw additional info about the recipe.
|
void |
getIngredients(IIngredients ingredients)
Gets all the recipe's ingredients by filling out an instance of
IIngredients. |
java.util.List<java.util.List<net.minecraft.item.ItemStack>> |
getInputs()
Return a list of recipe inputs.
|
java.util.List<net.minecraft.item.ItemStack> |
getOutputs()
Return a list of recipe inputs.
|
drawAnimations, getFluidInputs, getFluidOutputs, getTooltipStrings, handleClickpublic SmeltingRecipe(java.util.List<net.minecraft.item.ItemStack> inputs,
net.minecraft.item.ItemStack output)
public void getIngredients(IIngredients ingredients)
IRecipeWrapperIIngredients.public java.util.List<java.util.List<net.minecraft.item.ItemStack>> getInputs()
IRecipeWrappergetInputs in interface IRecipeWrappergetInputs in class BlankRecipeWrapperpublic java.util.List<net.minecraft.item.ItemStack> getOutputs()
IRecipeWrappergetOutputs in interface IRecipeWrappergetOutputs in class BlankRecipeWrapperpublic void drawInfo(net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
IRecipeWrapperIRecipeWrapper.getTooltipStrings(int, int)drawInfo in interface IRecipeWrapperdrawInfo in class BlankRecipeWrappermouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.for a simple class for drawing things.,
for useful functions.