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, handleClickpublic 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)
IRecipeWrapperIIngredients.public java.util.List 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.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int getBrewingSteps()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object