Class RecipeOverlayGui

java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.recipebook.RecipeOverlayGui
All Implemented Interfaces:
IGuiEventListener, IRenderable

public class RecipeOverlayGui extends AbstractGui implements IRenderable, IGuiEventListener
  • Field Details

    • RECIPE_BOOK_LOCATION

      private static final ResourceLocation RECIPE_BOOK_LOCATION
    • recipeButtons

      private final List<RecipeOverlayGui.RecipeButtonWidget> recipeButtons
    • isVisible

      private boolean isVisible
    • x

      private int x
    • y

      private int y
    • minecraft

      private Minecraft minecraft
    • collection

      private RecipeList collection
    • lastRecipeClicked

      private IRecipe<?> lastRecipeClicked
    • time

      private float time
    • isFurnaceMenu

      private boolean isFurnaceMenu
  • Constructor Details

    • RecipeOverlayGui

      public RecipeOverlayGui()
  • Method Details

    • 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_)
    • changeFocus

      public boolean changeFocus(boolean p_231049_1_)
      Specified by:
      changeFocus in interface IGuiEventListener
    • 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()