Class RecipeBookPage

java.lang.Object
net.minecraft.client.gui.screens.recipebook.RecipeBookPage

public class RecipeBookPage extends Object
  • Field Details

  • Constructor Details

    • RecipeBookPage

      public RecipeBookPage()
  • Method Details

    • init

      public void init(Minecraft p_100429_, int p_100430_, int p_100431_)
    • addListener

      public void addListener(RecipeBookComponent p_100433_)
    • updateCollections

      public void updateCollections(List<RecipeCollection> p_100437_, boolean p_100438_)
    • updateButtonsForPage

      private void updateButtonsForPage()
    • updateArrowButtons

      private void updateArrowButtons()
    • render

      public void render(GuiGraphics p_281416_, int p_281888_, int p_281904_, int p_282278_, int p_282424_, float p_281712_)
    • renderTooltip

      public void renderTooltip(GuiGraphics p_283690_, int p_282626_, int p_282490_)
    • getLastClickedRecipe

      @Nullable public RecipeHolder<?> getLastClickedRecipe()
    • getLastClickedRecipeCollection

      @Nullable public RecipeCollection getLastClickedRecipeCollection()
    • setInvisible

      public void setInvisible()
    • mouseClicked

      public boolean mouseClicked(double p_100410_, double p_100411_, int p_100412_, int p_100413_, int p_100414_, int p_100415_, int p_100416_)
    • recipesShown

      public void recipesShown(List<RecipeHolder<?>> p_100435_)
    • getMinecraft

      public Minecraft getMinecraft()
    • getRecipeBook

      public RecipeBook getRecipeBook()
    • listButtons

      protected void listButtons(Consumer<AbstractWidget> p_170054_)