Package net.minecraft.client.gui.widget
Class TabNavigationWidget
java.lang.Object
net.minecraft.client.gui.widget.WrapperWidget
net.minecraft.client.gui.widget.GridWidget
net.minecraft.client.gui.widget.TabNavigationWidget
- All Implemented Interfaces:
class_8133
,Widget
- Mappings:
Namespace Name official eok
intermediary net/minecraft/class_8089
named net/minecraft/client/gui/widget/TabNavigationWidget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.GridWidget
GridWidget.Adder
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.WrapperWidget
WrapperWidget.WrappedElement
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final ImmutableMap<Tab,
ButtonWidget> private final TabManager
private int
private final ImmutableList<Tab>
Fields inherited from class net.minecraft.client.gui.widget.WrapperWidget
height, width
-
Constructor Summary
ConstructorDescriptionTabNavigationWidget
(int x, int y, int width, TabManager tabManager, Iterable<Tab> tabs) -
Method Summary
Modifier and TypeMethodDescriptionstatic TabNavigationWidget.Builder
builder
(TabManager tabManager, int width) void
method_48986
(Tab tab) void
method_48987
(int int2) boolean
method_48988
(int int2) private int
private int
method_48990
(int int2) void
private void
selectTab
(Optional<ButtonWidget> button, Tab tab) void
setWidth
(int width) Methods inherited from class net.minecraft.client.gui.widget.GridWidget
add, add, add, add, copyPositioner, createAdder, forEachElement, getMainPositioner, setColumnSpacing, setRowSpacing, setSpacing
Methods inherited from class net.minecraft.client.gui.widget.WrapperWidget
getHeight, getWidth, getX, getY, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.class_8133
forEachChild
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
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
-
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
- 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
- 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
- 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 interfaceclass_8133
- Overrides:
refreshPositions
in classGridWidget
- 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
- 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
- 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
-