public class PageIRecipe extends PageBase
| Modifier and Type | Field and Description |
|---|---|
IRecipeRenderer |
iRecipeRenderer |
net.minecraft.item.crafting.IRecipe |
recipe |
| Constructor and Description |
|---|
PageIRecipe(net.minecraft.item.crafting.IRecipe recipe)
Use this if you are creating a page for a standard recipe, one of:
ShapedRecipes
ShapelessRecipes
ShapedOreRecipe
ShapelessOreRecipe
|
PageIRecipe(net.minecraft.item.crafting.IRecipe recipe,
IRecipeRenderer iRecipeRenderer) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Book book,
CategoryAbstract category,
EntryAbstract entry,
int guiLeft,
int guiTop,
int mouseX,
int mouseY,
GuiBase guiBase,
net.minecraft.client.gui.FontRenderer fontRenderer) |
void |
drawExtras(Book book,
CategoryAbstract category,
EntryAbstract entry,
int guiLeft,
int guiTop,
int mouseX,
int mouseY,
GuiBase guiBase,
net.minecraft.client.gui.FontRenderer fontRenderer) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
canSee, onInit, onLeftClicked, onRightClickedpublic net.minecraft.item.crafting.IRecipe recipe
public IRecipeRenderer iRecipeRenderer
public PageIRecipe(net.minecraft.item.crafting.IRecipe recipe)
ShapedRecipesShapelessRecipesShapedOreRecipeShapelessOreReciperecipe - - Recipe to drawpublic PageIRecipe(net.minecraft.item.crafting.IRecipe recipe,
IRecipeRenderer iRecipeRenderer)
recipe - - Recipe to drawiRecipeRenderer - - Your custom Recipe drawerpublic void draw(Book book, CategoryAbstract category, EntryAbstract entry, int guiLeft, int guiTop, int mouseX, int mouseY, GuiBase guiBase, net.minecraft.client.gui.FontRenderer fontRenderer)
public void drawExtras(Book book, CategoryAbstract category, EntryAbstract entry, int guiLeft, int guiTop, int mouseX, int mouseY, GuiBase guiBase, net.minecraft.client.gui.FontRenderer fontRenderer)
drawExtras in interface IPagedrawExtras in class PageBasepublic int hashCode()
hashCode in class java.lang.Object