Class OverlayRecipeComponent

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

public class OverlayRecipeComponent extends GuiComponent implements Widget, 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_)
    • changeFocus

      public boolean changeFocus(boolean p_100224_)
      Specified by:
      changeFocus in interface GuiEventListener
    • 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 Widget
    • nineInchSprite

      private void nineInchSprite(PoseStack p_100214_, int p_100215_, int p_100216_, int p_100217_, int p_100218_, int p_100219_, int p_100220_)
    • setVisible

      public void setVisible(boolean p_100205_)
    • isVisible

      public boolean isVisible()