Class RecipeBookPage
java.lang.Object
net.minecraft.client.gui.recipebook.RecipeBookPage
-
Field Summary
Modifier and TypeFieldDescriptionprivate ToggleWidget
private final List<RecipeWidget>
private int
private ToggleWidget
private RecipeWidget
private IRecipe<?>
private RecipeList
private Minecraft
private final RecipeOverlayGui
private RecipeBook
private List<RecipeList>
private final List<IRecipeUpdateListener>
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(RecipeBookGui p_193732_1_) IRecipe<?>
void
boolean
mouseClicked
(double p_198955_1_, double p_198955_3_, int p_198955_5_, int p_198955_6_, int p_198955_7_, int p_198955_8_, int p_198955_9_) void
recipesShown
(List<IRecipe<?>> p_194195_1_) void
render
(MatrixStack p_238927_1_, int p_238927_2_, int p_238927_3_, int p_238927_4_, int p_238927_5_, float p_238927_6_) void
renderTooltip
(MatrixStack p_238926_1_, int p_238926_2_, int p_238926_3_) void
private void
private void
void
updateCollections
(List<RecipeList> p_194192_1_, boolean p_194192_2_)
-
Field Details
-
buttons
-
hoveredButton
-
overlay
-
minecraft
-
showListeners
-
recipeCollections
-
forwardButton
-
backButton
-
totalPages
private int totalPages -
currentPage
private int currentPage -
recipeBook
-
lastClickedRecipe
-
lastClickedRecipeCollection
-
-
Constructor Details
-
RecipeBookPage
public RecipeBookPage()
-
-
Method Details
-
init
-
addListener
-
updateCollections
-
updateButtonsForPage
private void updateButtonsForPage() -
updateArrowButtons
private void updateArrowButtons() -
render
public void render(MatrixStack p_238927_1_, int p_238927_2_, int p_238927_3_, int p_238927_4_, int p_238927_5_, float p_238927_6_) -
renderTooltip
-
getLastClickedRecipe
-
getLastClickedRecipeCollection
-
setInvisible
public void setInvisible() -
mouseClicked
public boolean mouseClicked(double p_198955_1_, double p_198955_3_, int p_198955_5_, int p_198955_6_, int p_198955_7_, int p_198955_8_, int p_198955_9_) -
recipesShown
-
getMinecraft
-
getRecipeBook
-