Class TabManager

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

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

    • tabLoadConsumer

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

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

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

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

    • TabManager

      public TabManager(Consumer<ClickableWidget> tabLoadConsumer, Consumer<ClickableWidget> tabUnloadConsumer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/tab/TabManager;<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
      official <init> Lfji;<init>(Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
  • Method Details

    • setTabArea

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

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

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