public class BrewingRecipeWrapper extends BlankRecipeWrapper
Constructor and Description |
---|
BrewingRecipeWrapper(net.minecraft.item.ItemStack ingredient,
net.minecraft.item.ItemStack potionInput,
net.minecraft.item.ItemStack potionOutput,
int brewingSteps) |
BrewingRecipeWrapper(java.util.List<net.minecraft.item.ItemStack> ingredients,
net.minecraft.item.ItemStack potionInput,
net.minecraft.item.ItemStack potionOutput,
int brewingSteps) |
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.
|
boolean |
equals(java.lang.Object obj) |
int |
getBrewingSteps() |
void |
getIngredients(IIngredients ingredients)
Gets all the recipe's ingredients by filling out an instance of
IIngredients . |
java.util.List |
getInputs()
Return a list of recipe inputs.
|
java.util.List<net.minecraft.item.ItemStack> |
getOutputs()
Return a list of recipe inputs.
|
int |
hashCode() |
java.lang.String |
toString() |
drawAnimations, getFluidInputs, getFluidOutputs, getTooltipStrings, handleClick
public BrewingRecipeWrapper(net.minecraft.item.ItemStack ingredient, net.minecraft.item.ItemStack potionInput, net.minecraft.item.ItemStack potionOutput, int brewingSteps)
public BrewingRecipeWrapper(java.util.List<net.minecraft.item.ItemStack> ingredients, net.minecraft.item.ItemStack potionInput, net.minecraft.item.ItemStack potionOutput, int brewingSteps)
public void getIngredients(IIngredients ingredients)
IRecipeWrapper
IIngredients
.public java.util.List getInputs()
IRecipeWrapper
getInputs
in interface IRecipeWrapper
getInputs
in class BlankRecipeWrapper
public java.util.List<net.minecraft.item.ItemStack> getOutputs()
IRecipeWrapper
getOutputs
in interface IRecipeWrapper
getOutputs
in class BlankRecipeWrapper
public void drawInfo(net.minecraft.client.Minecraft minecraft, int recipeWidth, int recipeHeight, int mouseX, int mouseY)
IRecipeWrapper
IRecipeWrapper.getTooltipStrings(int, int)
drawInfo
in interface IRecipeWrapper
drawInfo
in class BlankRecipeWrapper
mouseX
- 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.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getBrewingSteps()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object