Class TabButtonWidget

java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.TabButtonWidget
All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class TabButtonWidget extends ClickableWidget
Mappings:
Namespace Name
official eyp
intermediary net/minecraft/class_8209
named net/minecraft/client/gui/widget/TabButtonWidget
  • Field Details

    • TAB_BUTTON_TEXTURES

      private static final ButtonTextures TAB_BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official a Leyp;a:Leyt;
      intermediary field_45391 Lnet/minecraft/class_8209;field_45391:Lnet/minecraft/class_8666;
      named TAB_BUTTON_TEXTURES Lnet/minecraft/client/gui/widget/TabButtonWidget;TAB_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
    • field_43063

      private static final int field_43063
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leyp;b:I
      intermediary field_43063 Lnet/minecraft/class_8209;field_43063:I
      named field_43063 Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43063:I
    • field_43064

      private static final int field_43064
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Leyp;c:I
      intermediary field_43064 Lnet/minecraft/class_8209;field_43064:I
      named field_43064 Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43064:I
    • field_43065

      private static final int field_43065
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Leyp;d:I
      intermediary field_43065 Lnet/minecraft/class_8209;field_43065:I
      named field_43065 Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43065:I
    • field_43066

      private static final int field_43066
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Leyp;e:I
      intermediary field_43066 Lnet/minecraft/class_8209;field_43066:I
      named field_43066 Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43066:I
    • field_43067

      private static final int field_43067
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Leyp;f:I
      intermediary field_43067 Lnet/minecraft/class_8209;field_43067:I
      named field_43067 Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43067:I
    • tabManager

      private final TabManager tabManager
      Mappings:
      Namespace Name Mixin selector
      official m Leyp;m:Lezi;
      intermediary field_43068 Lnet/minecraft/class_8209;field_43068:Lnet/minecraft/class_8088;
      named tabManager Lnet/minecraft/client/gui/widget/TabButtonWidget;tabManager:Lnet/minecraft/client/gui/tab/TabManager;
    • tab

      private final Tab tab
      Mappings:
      Namespace Name Mixin selector
      official n Leyp;n:Lezh;
      intermediary field_43069 Lnet/minecraft/class_8209;field_43069:Lnet/minecraft/class_8087;
      named tab Lnet/minecraft/client/gui/widget/TabButtonWidget;tab:Lnet/minecraft/client/gui/tab/Tab;
  • Constructor Details

    • TabButtonWidget

      public TabButtonWidget(TabManager tabManager, Tab tab, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyp;<init>(Lezi;Lezh;II)V
      intermediary <init> Lnet/minecraft/class_8209;<init>(Lnet/minecraft/class_8088;Lnet/minecraft/class_8087;II)V
      named <init> Lnet/minecraft/client/gui/widget/TabButtonWidget;<init>(Lnet/minecraft/client/gui/tab/TabManager;Lnet/minecraft/client/gui/tab/Tab;II)V
  • Method Details

    • renderWidget

      public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      renderWidget in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lexe;b(Lewu;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderWidget Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • drawMessage

      public void drawMessage(DrawContext context, TextRenderer textRenderer, int color)
      Mappings:
      Namespace Name Mixin selector
      official a Leyp;a(Lewu;Lews;I)V
      intermediary method_49608 Lnet/minecraft/class_8209;method_49608(Lnet/minecraft/class_332;Lnet/minecraft/class_327;I)V
      named drawMessage Lnet/minecraft/client/gui/widget/TabButtonWidget;drawMessage(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;I)V
    • drawCurrentTabLine

      private void drawCurrentTabLine(DrawContext context, TextRenderer textRenderer, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Leyp;b(Lewu;Lews;I)V
      intermediary method_49610 Lnet/minecraft/class_8209;method_49610(Lnet/minecraft/class_332;Lnet/minecraft/class_327;I)V
      named drawCurrentTabLine Lnet/minecraft/client/gui/widget/TabButtonWidget;drawCurrentTabLine(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;I)V
    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lexe;a(Lfaz;)V
      intermediary method_47399 Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
      named appendClickableNarrations Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lexe;a(Lgje;)V
      intermediary method_25354 Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V
      named playDownSound Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
    • getTab

      public Tab getTab()
      Mappings:
      Namespace Name Mixin selector
      official a Leyp;a()Lezh;
      intermediary method_49609 Lnet/minecraft/class_8209;method_49609()Lnet/minecraft/class_8087;
      named getTab Lnet/minecraft/client/gui/widget/TabButtonWidget;getTab()Lnet/minecraft/client/gui/tab/Tab;
    • isCurrentTab

      public boolean isCurrentTab()
      Mappings:
      Namespace Name Mixin selector
      official b Leyp;b()Z
      intermediary method_49611 Lnet/minecraft/class_8209;method_49611()Z
      named isCurrentTab Lnet/minecraft/client/gui/widget/TabButtonWidget;isCurrentTab()Z