Class TabManager

java.lang.Object
net.minecraft.client.gui.tab.TabManager

@Environment(CLIENT) public class TabManager extends Object
Mappings:
Namespace Name
official eqr
intermediary net/minecraft/class_8088
named net/minecraft/client/gui/tab/TabManager
  • Field Details

    • tabLoadConsumer

      private final Consumer<ClickableWidget> tabLoadConsumer
      Mappings:
      Namespace Name Mixin selector
      official a Leqr;a:Ljava/util/function/Consumer;
      intermediary field_42141 Lnet/minecraft/class_8088;field_42141:Ljava/util/function/Consumer;
      named tabLoadConsumer Lnet/minecraft/client/gui/tab/TabManager;tabLoadConsumer:Ljava/util/function/Consumer;
    • tabUnloadConsumer

      private final Consumer<ClickableWidget> tabUnloadConsumer
      Mappings:
      Namespace Name Mixin selector
      official b Leqr;b:Ljava/util/function/Consumer;
      intermediary field_42142 Lnet/minecraft/class_8088;field_42142:Ljava/util/function/Consumer;
      named tabUnloadConsumer Lnet/minecraft/client/gui/tab/TabManager;tabUnloadConsumer:Ljava/util/function/Consumer;
    • currentTab

      @Nullable private @Nullable Tab currentTab
      Mappings:
      Namespace Name Mixin selector
      official c Leqr;c:Leqq;
      intermediary field_42143 Lnet/minecraft/class_8088;field_42143:Lnet/minecraft/class_8087;
      named currentTab Lnet/minecraft/client/gui/tab/TabManager;currentTab:Lnet/minecraft/client/gui/tab/Tab;
    • tabArea

      @Nullable private @Nullable ScreenRect tabArea
      Mappings:
      Namespace Name Mixin selector
      official d Leqr;d:Lesq;
      intermediary field_42144 Lnet/minecraft/class_8088;field_42144:Lnet/minecraft/class_8030;
      named tabArea Lnet/minecraft/client/gui/tab/TabManager;tabArea:Lnet/minecraft/client/gui/ScreenRect;
  • Constructor Details

    • TabManager

      public TabManager(Consumer<ClickableWidget> tabLoadConsumer, Consumer<ClickableWidget> tabUnloadConsumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqr;<init>(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_8088;<init>(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/client/gui/tab/TabManager;<init>(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
  • Method Details

    • setTabArea

      public void setTabArea(ScreenRect tabArea)
      Mappings:
      Namespace Name Mixin selector
      official a Leqr;a(Lesq;)V
      intermediary method_48616 Lnet/minecraft/class_8088;method_48616(Lnet/minecraft/class_8030;)V
      named setTabArea Lnet/minecraft/client/gui/tab/TabManager;setTabArea(Lnet/minecraft/client/gui/ScreenRect;)V
    • setCurrentTab

      public void setCurrentTab(Tab tab, boolean clickSound)
      Mappings:
      Namespace Name Mixin selector
      official a Leqr;a(Leqq;Z)V
      intermediary method_48615 Lnet/minecraft/class_8088;method_48615(Lnet/minecraft/class_8087;Z)V
      named setCurrentTab Lnet/minecraft/client/gui/tab/TabManager;setCurrentTab(Lnet/minecraft/client/gui/tab/Tab;Z)V
    • getCurrentTab

      @Nullable public @Nullable Tab getCurrentTab()
      Mappings:
      Namespace Name Mixin selector
      official a Leqr;a()Leqq;
      intermediary method_48614 Lnet/minecraft/class_8088;method_48614()Lnet/minecraft/class_8087;
      named getCurrentTab Lnet/minecraft/client/gui/tab/TabManager;getCurrentTab()Lnet/minecraft/client/gui/tab/Tab;
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official b Leqr;b()V
      intermediary method_48617 Lnet/minecraft/class_8088;method_48617()V
      named tick Lnet/minecraft/client/gui/tab/TabManager;tick()V