Class TabNavigationWidget

All Implemented Interfaces:
class_8133, Widget

@Environment(CLIENT) public class TabNavigationWidget extends GridWidget
Mappings:
Namespace Name
official eok
intermediary net/minecraft/class_8089
named net/minecraft/client/gui/widget/TabNavigationWidget
  • Field Details

    • field_42489

      private static final int field_42489
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Leok;c:I
      intermediary field_42489 Lnet/minecraft/class_8089;field_42489:I
      named field_42489 Lnet/minecraft/client/gui/widget/TabNavigationWidget;field_42489:I
    • tabNavWidth

      private int tabNavWidth
      Mappings:
      Namespace Name Mixin selector
      official d Leok;d:I
      intermediary field_42145 Lnet/minecraft/class_8089;field_42145:I
      named tabNavWidth Lnet/minecraft/client/gui/widget/TabNavigationWidget;tabNavWidth:I
    • tabManager

      private final TabManager tabManager
      Mappings:
      Namespace Name Mixin selector
      official e Leok;e:Leoj;
      intermediary field_42146 Lnet/minecraft/class_8089;field_42146:Lnet/minecraft/class_8088;
      named tabManager Lnet/minecraft/client/gui/widget/TabNavigationWidget;tabManager:Lnet/minecraft/client/gui/tab/TabManager;
    • tabs

      private final ImmutableList<Tab> tabs
      Mappings:
      Namespace Name Mixin selector
      official f Leok;f:Lcom/google/common/collect/ImmutableList;
      intermediary field_42147 Lnet/minecraft/class_8089;field_42147:Lcom/google/common/collect/ImmutableList;
      named tabs Lnet/minecraft/client/gui/widget/TabNavigationWidget;tabs:Lcom/google/common/collect/ImmutableList;
    • tabButtons

      private final ImmutableMap<Tab,ButtonWidget> tabButtons
      Mappings:
      Namespace Name Mixin selector
      official g Leok;g:Lcom/google/common/collect/ImmutableMap;
      intermediary field_42148 Lnet/minecraft/class_8089;field_42148:Lcom/google/common/collect/ImmutableMap;
      named tabButtons Lnet/minecraft/client/gui/widget/TabNavigationWidget;tabButtons:Lcom/google/common/collect/ImmutableMap;
  • Constructor Details

    • TabNavigationWidget

      TabNavigationWidget(int x, int y, int width, TabManager tabManager, Iterable<Tab> tabs)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leok;<init>(IIILeoj;Ljava/lang/Iterable;)V
      intermediary <init> Lnet/minecraft/class_8089;<init>(IIILnet/minecraft/class_8088;Ljava/lang/Iterable;)V
      named <init> Lnet/minecraft/client/gui/widget/TabNavigationWidget;<init>(IIILnet/minecraft/client/gui/tab/TabManager;Ljava/lang/Iterable;)V
  • Method Details

    • setWidth

      public void setWidth(int width)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(I)V
      intermediary method_48618 Lnet/minecraft/class_8089;method_48618(I)V
      named setWidth Lnet/minecraft/client/gui/widget/TabNavigationWidget;setWidth(I)V
    • builder

      public static TabNavigationWidget.Builder builder(TabManager tabManager, int width)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(Leoj;I)Leok$a;
      intermediary method_48623 Lnet/minecraft/class_8089;method_48623(Lnet/minecraft/class_8088;I)Lnet/minecraft/class_8089$class_8090;
      named builder Lnet/minecraft/client/gui/widget/TabNavigationWidget;builder(Lnet/minecraft/client/gui/tab/TabManager;I)Lnet/minecraft/client/gui/widget/TabNavigationWidget$Builder;
    • refreshPositions

      public void refreshPositions()
      Specified by:
      refreshPositions in interface class_8133
      Overrides:
      refreshPositions in class GridWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a()V
      intermediary method_48222 Lnet/minecraft/class_8133;method_48222()V
      named refreshPositions Lnet/minecraft/class_8133;refreshPositions()V
    • selectTab

      private void selectTab(Optional<ButtonWidget> button, Tab tab)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(Ljava/util/Optional;Leoi;)V
      intermediary method_48624 Lnet/minecraft/class_8089;method_48624(Ljava/util/Optional;Lnet/minecraft/class_8087;)V
      named selectTab Lnet/minecraft/client/gui/widget/TabNavigationWidget;selectTab(Ljava/util/Optional;Lnet/minecraft/client/gui/tab/Tab;)V
    • method_48986

      public void method_48986(Tab tab)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(Leoi;)V
      intermediary method_48986 Lnet/minecraft/class_8089;method_48986(Lnet/minecraft/class_8087;)V
      named method_48986 Lnet/minecraft/client/gui/widget/TabNavigationWidget;method_48986(Lnet/minecraft/client/gui/tab/Tab;)V
    • method_48987

      public void method_48987(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Leok;b(I)V
      intermediary method_48987 Lnet/minecraft/class_8089;method_48987(I)V
      named method_48987 Lnet/minecraft/client/gui/widget/TabNavigationWidget;method_48987(I)V
    • method_48988

      public boolean method_48988(int int2)
      Mappings:
      Namespace Name Mixin selector
      official c Leok;c(I)Z
      intermediary method_48988 Lnet/minecraft/class_8089;method_48988(I)Z
      named method_48988 Lnet/minecraft/client/gui/widget/TabNavigationWidget;method_48988(I)Z
    • method_48990

      private int method_48990(int int2)
      Mappings:
      Namespace Name Mixin selector
      official j Leok;j(I)I
      intermediary method_48990 Lnet/minecraft/class_8089;method_48990(I)I
      named method_48990 Lnet/minecraft/client/gui/widget/TabNavigationWidget;method_48990(I)I
    • method_48989

      private int method_48989()
      Mappings:
      Namespace Name Mixin selector
      official d Leok;d()I
      intermediary method_48989 Lnet/minecraft/class_8089;method_48989()I
      named method_48989 Lnet/minecraft/client/gui/widget/TabNavigationWidget;method_48989()I