public class RecipeBookPage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private GuiButtonToggle |
backButton |
private java.util.List<GuiButtonRecipe> |
buttons |
private int |
currentPage |
private GuiButtonToggle |
forwardButton |
private GuiButtonRecipe |
hoveredButton |
private IRecipe |
lastClickedRecipe |
private RecipeList |
lastClickedRecipeList |
private java.util.List<IRecipeUpdateListener> |
listeners |
private Minecraft |
minecraft |
private GuiRecipeOverlay |
overlay |
private RecipeBook |
recipeBook |
private java.util.List<RecipeList> |
recipeLists |
private int |
totalPages |
Constructor and Description |
---|
RecipeBookPage() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(GuiRecipeBook p_193732_1_) |
IRecipe |
getLastClickedRecipe() |
RecipeList |
getLastClickedRecipeList() |
void |
init(Minecraft p_194194_1_,
int p_194194_2_,
int p_194194_3_) |
boolean |
mouseClicked(int p_194196_1_,
int p_194196_2_,
int p_194196_3_,
int p_194196_4_,
int p_194196_5_,
int p_194196_6_,
int p_194196_7_) |
void |
recipesShown(java.util.List<IRecipe> p_194195_1_) |
void |
render(int p_194191_1_,
int p_194191_2_,
int p_194191_3_,
int p_194191_4_,
float p_194191_5_) |
void |
renderTooltip(int p_193721_1_,
int p_193721_2_) |
void |
setInvisible() |
private void |
updateArrowButtons() |
private void |
updateButtonsForPage() |
void |
updateLists(java.util.List<RecipeList> p_194192_1_,
boolean p_194192_2_) |
private java.util.List<GuiButtonRecipe> buttons
private GuiButtonRecipe hoveredButton
private GuiRecipeOverlay overlay
private Minecraft minecraft
private java.util.List<IRecipeUpdateListener> listeners
private java.util.List<RecipeList> recipeLists
private GuiButtonToggle forwardButton
private GuiButtonToggle backButton
private int totalPages
private int currentPage
private RecipeBook recipeBook
private IRecipe lastClickedRecipe
private RecipeList lastClickedRecipeList
public void init(Minecraft p_194194_1_, int p_194194_2_, int p_194194_3_)
public void addListener(GuiRecipeBook p_193732_1_)
public void updateLists(java.util.List<RecipeList> p_194192_1_, boolean p_194192_2_)
private void updateButtonsForPage()
private void updateArrowButtons()
public void render(int p_194191_1_, int p_194191_2_, int p_194191_3_, int p_194191_4_, float p_194191_5_)
public void renderTooltip(int p_193721_1_, int p_193721_2_)
@Nullable public IRecipe getLastClickedRecipe()
@Nullable public RecipeList getLastClickedRecipeList()
public void setInvisible()
public boolean mouseClicked(int p_194196_1_, int p_194196_2_, int p_194196_3_, int p_194196_4_, int p_194196_5_, int p_194196_6_, int p_194196_7_)
public void recipesShown(java.util.List<IRecipe> p_194195_1_)