Class RecipeBookPage


  • public class RecipeBookPage
    extends java.lang.Object
    • Constructor Detail

      • RecipeBookPage

        public RecipeBookPage()
    • Method Detail

      • init

        public void init​(Minecraft p_194194_1_,
                         int p_194194_2_,
                         int p_194194_3_)
      • addListener

        public void addListener​(RecipeBookGui p_193732_1_)
      • updateCollections

        public void updateCollections​(java.util.List<RecipeList> p_194192_1_,
                                      boolean p_194192_2_)
      • 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

        public void renderTooltip​(MatrixStack p_238926_1_,
                                  int p_238926_2_,
                                  int p_238926_3_)
      • getLastClickedRecipe

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

        @Nullable
        public RecipeList 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

        public void recipesShown​(java.util.List<IRecipe<?>> p_194195_1_)
      • getMinecraft

        public Minecraft getMinecraft()
      • getRecipeBook

        public RecipeBook getRecipeBook()