net.minecraft.client.gui.components.tabs

public class TabNavigationBar

extends AbstractContainerEventHandler implements Renderable, NarratableEntry

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, NarratableEntry, NarrationSupplier

fjk
net.minecraft.client.gui.components.tabs.TabNavigationBar
net.minecraft.class_8089
net.minecraft.client.gui.widget.TabNavigationWidget
net.minecraft.src.C_267342_

Field summary

Modifier and TypeField
private static final int
a
NO_TAB
field_42489
field_42489
f_268741_
private static final int
b
MAX_WIDTH
field_43076
field_43076
f_273832_
private static final int
c
HEIGHT
field_43077
field_43077
f_273831_
private static final int
d
MARGIN
field_43078
field_43078
f_273887_
private static final Component
e
USAGE_NARRATION
field_43079
USAGE_NARRATION_TEXT
f_273890_
private final LinearLayout
f
layout
field_43080
grid
f_273942_
private int
g
width
field_42145
tabNavWidth
f_267467_
private final TabManager
h
tabManager
field_42146
tabManager
f_267401_
private final com.google.common.collect.ImmutableList<Tab>
i
tabs
field_42147
tabs
f_267380_
private final com.google.common.collect.ImmutableList<TabButton>
j
tabButtons
field_42148
tabButtons
f_267495_

Constructor summary

ModifierConstructor
(int x, TabManager tabManager, Iterable<Tab> tabs)

Method summary

Modifier and TypeMethod
public static TabNavigationBar$Builder
a(fjj arg0, int arg1)
builder(TabManager arg0, int arg1)
method_48623(class_8088 arg0, int arg1)
builder(TabManager tabManager, int width)
m_267630_(C_267345_ p_268126_, int p_268070_)
public void
a(int arg0)
setWidth(int arg0)
method_48618(int arg0)
setWidth(int width)
m_267604_(int arg0)
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean arg0)
m_93692_(boolean arg0)
public void
a(fjc arg0)
setFocused(GuiEventListener arg0)
method_25395(class_364 arg0)
setFocused(Element arg0)
m_7522_(C_3495_ arg0)
public ComponentPath
a(fli arg0)
nextFocusPath(FocusNavigationEvent arg0)
method_48205(class_8023 arg0)
getNavigationPath(GuiNavigation arg0)
m_264064_(C_263643_ arg0)
public List<? extends GuiEventListener>
aD_()
children()
method_25396()
children()
m_6702_()
public NarratableEntry$NarrationPriority
t()
narrationPriority()
method_37018()
getType()
m_142684_()
public void
b(flc arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
protected void
a(flc arg0, fip arg1)
narrateListElementPosition(NarrationElementOutput arg0, TabButton arg1)
method_49612(class_6382 arg0, class_8209 arg1)
appendNarrations(NarrationMessageBuilder builder, TabButtonWidget button)
m_274560_(C_141608_ p_275397_, C_273800_ arg1)
public void
a(fgt arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_282085_, int p_281687_, int p_283048_, float arg3)
public ScreenRectangle
G()
getRectangle()
method_48202()
getNavigationFocus()
m_264198_()
public void
b()
arrangeElements()
method_49613()
init()
m_267766_()
public void
a(int arg0, boolean arg1)
selectTab(int arg0, boolean arg1)
method_48987(int arg0, boolean arg1)
selectTab(int index, boolean clickSound)
m_276089_(int p_276125_, boolean arg1)
public boolean
b(int arg0)
keyPressed(int arg0)
method_48988(int arg0)
trySwitchTabsWithKey(int keyCode)
m_269419_(int arg0)
private int
c(int arg0)
getNextTabIndex(int arg0)
method_48990(int arg0)
getTabForKey(int keyCode)
m_269123_(int arg0)
private int
c()
currentTabIndex()
method_48989()
getCurrentTabIndex()
m_269025_()
private TabButton
d()
currentTabButton()
method_49615()
getCurrentTabButton()
m_274517_()