net.minecraft.client.gui.components

public class TabButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eyp
net.minecraft.client.gui.components.TabButton
net.minecraft.class_8209
net.minecraft.client.gui.widget.TabButtonWidget
net.minecraft.src.C_273800_

Field summary

Modifier and TypeField
private static final WidgetSprites
a
SPRITES
field_45391
TAB_BUTTON_TEXTURES
f_291157_
private static final int
b
SELECTED_OFFSET
field_43063
field_43063
f_273861_
private static final int
c
TEXT_MARGIN
field_43064
field_43064
f_273873_
private static final int
d
UNDERLINE_HEIGHT
field_43065
field_43065
f_273895_
private static final int
e
UNDERLINE_MARGIN_X
field_43066
field_43066
f_273921_
private static final int
f
UNDERLINE_MARGIN_BOTTOM
field_43067
field_43067
f_273844_
private final TabManager
m
tabManager
field_43068
tabManager
f_273884_
private final Tab
n
tab
field_43069
tab
f_273837_

Constructor summary

ModifierConstructor
public (TabManager tabManager, Tab tab, int width, int height)

Method summary

Modifier and TypeMethod
public void
b(ewu arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_283437_, int p_281595_, int p_282117_, float arg3)
public void
a(ewu arg0, ews arg1, int arg2)
renderString(GuiGraphics arg0, Font arg1, int arg2)
method_49608(class_332 arg0, class_327 arg1, int arg2)
drawMessage(DrawContext context, TextRenderer textRenderer, int color)
m_274488_(C_279497_ p_275208_, C_3429_ p_275293_, int arg2)
private void
b(ewu arg0, ews arg1, int arg2)
renderFocusUnderline(GuiGraphics arg0, Font arg1, int arg2)
method_49610(class_332 arg0, class_327 arg1, int arg2)
drawCurrentTabLine(DrawContext context, TextRenderer textRenderer, int color)
m_274365_(C_279497_ p_275475_, C_3429_ p_275367_, int arg2)
protected void
a(faz arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
a(gje arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
m_7435_(C_4603_ arg0)
public Tab
a()
tab()
method_49609()
getTab()
m_274356_()
public boolean
b()
isSelected()
method_49611()
isCurrentTab()
m_274319_()