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(PoseStack p_100422_, int p_100423_, int p_100424_, int p_100425_, int p_100426_, float p_100427_)
    • renderTooltip

      public void renderTooltip(PoseStack p_100418_, int p_100419_, int p_100420_)
    • getLastClickedRecipe

      @Nullable public Recipe<?> 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<Recipe<?>> p_100435_)
    • getMinecraft

      public Minecraft getMinecraft()
    • getRecipeBook

      public RecipeBook getRecipeBook()
    • listButtons

      protected void listButtons(Consumer<AbstractWidget> p_170054_)