net.minecraft.client.gui.components

public class TabButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fqd
net.minecraft.client.gui.components.TabButton
net.minecraft.class_8209
net.minecraft.client.gui.widget.TabButtonWidget

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(fof 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)
protected void
a(fof arg0, int arg1, int arg2, int arg3, int arg4)
renderMenuBackground(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_58230(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
renderBackgroundTexture(DrawContext context, int left, int top, int right, int bottom)
public void
a(fof arg0, fod 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)
private void
b(fof arg0, fod 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)
protected void
a(fsr arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public void
a(hjw arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
public Tab
a()
tab()
method_49609()
getTab()
public boolean
b()
isSelected()
method_49611()
isCurrentTab()