Class RecipeOverlayGui.RecipeButtonWidget

java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.widget.Widget
net.minecraft.client.gui.recipebook.RecipeOverlayGui.RecipeButtonWidget
All Implemented Interfaces:
IGuiEventListener, IRenderable, IRecipePlacer<Ingredient>
Direct Known Subclasses:
RecipeOverlayGui.FurnaceRecipeButtonWidget
Enclosing class:
RecipeOverlayGui

class RecipeOverlayGui.RecipeButtonWidget extends Widget implements IRecipePlacer<Ingredient>
  • Field Details

  • Constructor Details

    • RecipeButtonWidget

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

    • calculateIngredientsPositions

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

      public void addItemToSlot(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