Class RecipeOverlayGui

    • Field Detail

      • RECIPE_BOOK_LOCATION

        private static final ResourceLocation RECIPE_BOOK_LOCATION
      • isVisible

        private boolean isVisible
      • x

        private int x
      • y

        private int y
      • lastRecipeClicked

        private IRecipe<?> lastRecipeClicked
      • time

        private float time
      • isFurnaceMenu

        private boolean isFurnaceMenu
    • Constructor Detail

      • RecipeOverlayGui

        public RecipeOverlayGui()
    • Method Detail

      • init

        public void init​(Minecraft p_201703_1_,
                         RecipeList p_201703_2_,
                         int p_201703_3_,
                         int p_201703_4_,
                         int p_201703_5_,
                         int p_201703_6_,
                         float p_201703_7_)
      • getRecipeCollection

        public RecipeList getRecipeCollection()
      • getLastRecipeClicked

        public IRecipe<?> getLastRecipeClicked()
      • mouseClicked

        public boolean mouseClicked​(double p_231044_1_,
                                    double p_231044_3_,
                                    int p_231044_5_)
        Specified by:
        mouseClicked in interface IGuiEventListener
      • isMouseOver

        public boolean isMouseOver​(double p_231047_1_,
                                   double p_231047_3_)
        Specified by:
        isMouseOver in interface IGuiEventListener
      • render

        public void render​(MatrixStack p_230430_1_,
                           int p_230430_2_,
                           int p_230430_3_,
                           float p_230430_4_)
        Specified by:
        render in interface IRenderable
      • nineInchSprite

        private void nineInchSprite​(MatrixStack p_238923_1_,
                                    int p_238923_2_,
                                    int p_238923_3_,
                                    int p_238923_4_,
                                    int p_238923_5_,
                                    int p_238923_6_,
                                    int p_238923_7_)
      • setVisible

        public void setVisible​(boolean p_192999_1_)
      • isVisible

        public boolean isVisible()