Class OverlayRecipeComponent

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent
All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement

public class OverlayRecipeComponent extends GuiComponent implements Renderable, GuiEventListener
  • Field Details

  • Constructor Details

    • OverlayRecipeComponent

      public OverlayRecipeComponent()
  • Method Details

    • init

      public void init(Minecraft p_100195_, RecipeCollection p_100196_, int p_100197_, int p_100198_, int p_100199_, int p_100200_, float p_100201_)
    • getRecipeCollection

      public RecipeCollection getRecipeCollection()
    • getLastRecipeClicked

      @Nullable public Recipe<?> getLastRecipeClicked()
    • mouseClicked

      public boolean mouseClicked(double p_100186_, double p_100187_, int p_100188_)
      Specified by:
      mouseClicked in interface GuiEventListener
    • isMouseOver

      public boolean isMouseOver(double p_100208_, double p_100209_)
      Specified by:
      isMouseOver in interface GuiEventListener
    • render

      public void render(PoseStack p_100190_, int p_100191_, int p_100192_, float p_100193_)
      Specified by:
      render in interface Renderable
    • setVisible

      public void setVisible(boolean p_100205_)
    • isVisible

      public boolean isVisible()
    • setFocused

      public void setFocused(boolean p_265597_)
      Specified by:
      setFocused in interface GuiEventListener
    • isFocused

      public boolean isFocused()
      Specified by:
      isFocused in interface GuiEventListener