public class ItemDescriptionRecipe extends BlankRecipeWrapper
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ItemDescriptionRecipe> |
create(IGuiHelper guiHelper,
java.util.List<net.minecraft.item.ItemStack> itemStacks,
java.lang.String... descriptionKeys) |
void |
drawInfo(net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
Draw additional info about the recipe.
|
java.util.List<java.lang.String> |
getDescription() |
void |
getIngredients(IIngredients ingredients)
Gets all the recipe's ingredients by filling out an instance of
IIngredients. |
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 static java.util.List<ItemDescriptionRecipe> create(IGuiHelper guiHelper, java.util.List<net.minecraft.item.ItemStack> itemStacks, java.lang.String... descriptionKeys)
public void getIngredients(IIngredients ingredients)
IRecipeWrapperIIngredients.public 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.public java.util.List<java.lang.String> getDescription()