net.minecraft.client.gui.widget

public class SimpleTabNavigationWidget$Button

extends AbstractTabButtonWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.components.tabs.MenuTabBar$MenuTabButton
net.minecraft.client.gui.components.tabs.MenuTabBar$MenuTabButton
net.minecraft.class_1_923$class_1_925
net.minecraft.client.gui.widget.SimpleTabNavigationWidget$Button

Field summary

Modifier and TypeField
private static final ButtonTextures
SPRITES
SPRITES
field_1_6500
BUTTON_TEXTURES
private static final int
SELECTED_OFFSET
SELECTED_OFFSET
field_1_6499
field_1_6499
private static final int
TEXT_MARGIN
TEXT_MARGIN
field_1_6501
field_1_6501
private static final int
UNDERLINE_HEIGHT
UNDERLINE_HEIGHT
field_1_6502
field_1_6502
private static final int
UNDERLINE_MARGIN_X
UNDERLINE_MARGIN_X
field_1_6504
field_1_6504
private static final int
UNDERLINE_MARGIN_BOTTOM
UNDERLINE_MARGIN_BOTTOM
field_1_6503
field_1_6503

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
extractWidgetRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractWidgetRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
renderMenuBackground(GuiGraphicsExtractor graphics, int x0, int y0, int x1, int y1)
renderMenuBackground(GuiGraphicsExtractor graphics, int x0, int y0, int x1, int y1)
method_1_5626(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawMenuBackgroundTexture(DrawContext context, int left, int top, int right, int bottom)
private void
renderLabel(ActiveTextCollector output)
renderLabel(ActiveTextCollector output)
method_1_5625(class_12225 arg0)
drawMessage(DrawnTextConsumer textConsumer)
private void
renderFocusUnderline(GuiGraphicsExtractor graphics, Font font, int color)
renderFocusUnderline(GuiGraphicsExtractor graphics, Font font, int color)
method_1_5624(class_332 arg0, class_327 arg1, int arg2)
drawCurrentTabBackground(DrawContext context, TextRenderer textRenderer, int color)