public class CraftingRecipeAppendix extends RecipeAppendix<net.minecraft.item.crafting.IRecipe>
RecipeAppendix.ItemButtonrecipe, renderItemHolders, SLOT_SIZE, TICK_DELAY| Constructor and Description |
|---|
CraftingRecipeAppendix(net.minecraft.item.crafting.IRecipe recipe) |
| Modifier and Type | Method and Description |
|---|---|
void |
bakeElement(InfoSection infoSection)
Bake this appendix, only called once before changing pages.
|
protected void |
drawElementInner(GuiOriginsOfDarkness gui,
int x,
int y,
int width,
int height,
int page,
int mx,
int my) |
protected int |
getHeightInner() |
protected java.util.List<net.minecraft.item.ItemStack> |
getItemStacks(int index) |
protected java.lang.String |
getUnlocalizedTitle() |
protected int |
getWidth() |
drawElement, getAdditionalHeight, getHeight, getOffsetY, getTick, postDrawElement, preBakeElement, prepareItemStack, prepareItemStacks, renderIcon, renderItem, renderItem, renderItemTooltip, renderToolTipsdrawScreen, getFullHeightpublic CraftingRecipeAppendix(net.minecraft.item.crafting.IRecipe recipe)
protected int getWidth()
getWidth in class SectionAppendixprotected int getHeightInner()
getHeightInner in class RecipeAppendix<net.minecraft.item.crafting.IRecipe>protected java.lang.String getUnlocalizedTitle()
getUnlocalizedTitle in class RecipeAppendix<net.minecraft.item.crafting.IRecipe>public void bakeElement(InfoSection infoSection)
SectionAppendixbakeElement in class RecipeAppendix<net.minecraft.item.crafting.IRecipe>infoSection - The section this appendix is part of.protected void drawElementInner(GuiOriginsOfDarkness gui, int x, int y, int width, int height, int page, int mx, int my)
drawElementInner in class RecipeAppendix<net.minecraft.item.crafting.IRecipe>protected java.util.List<net.minecraft.item.ItemStack> getItemStacks(int index)