Class RecipeOverlayGui.RecipeButtonWidget

    • Constructor Detail

      • RecipeButtonWidget

        public RecipeButtonWidget​(int p_i47594_2_,
                                  int p_i47594_3_,
                                  IRecipe<?> p_i47594_4_,
                                  boolean p_i47594_5_)
    • Method Detail

      • calculateIngredientsPositions

        protected void calculateIngredientsPositions​(IRecipe<?> p_201505_1_)
      • addItemToSlot

        public void addItemToSlot​(java.util.Iterator<Ingredient> p_201500_1_,
                                  int p_201500_2_,
                                  int p_201500_3_,
                                  int p_201500_4_,
                                  int p_201500_5_)
        Specified by:
        addItemToSlot in interface IRecipePlacer<Ingredient>
      • renderButton

        public void renderButton​(MatrixStack p_230431_1_,
                                 int p_230431_2_,
                                 int p_230431_3_,
                                 float p_230431_4_)
        Overrides:
        renderButton in class Widget