Package net.minecraft.client.gui.widget
Class TabButtonWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.TabButtonWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/TabButtonWidget
intermediary net/minecraft/class_8209
official fjv
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private final Tab
private static final ButtonTextures
private final TabManager
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
private void
drawCurrentTabLine
(DrawContext context, TextRenderer textRenderer, int color) void
drawMessage
(DrawContext context, TextRenderer textRenderer, int color) getTab()
boolean
void
playDownSound
(SoundManager soundManager) protected void
renderBackgroundTexture
(DrawContext context, int left, int top, int right, int bottom) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, 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.client.gui.Element
charTyped, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
TAB_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_BUTTON_TEXTURES
Lnet/minecraft/client/gui/widget/TabButtonWidget;TAB_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
intermediary field_45391
Lnet/minecraft/class_8209;field_45391:Lnet/minecraft/class_8666;
official a
Lfjv;a:Lfjz;
-
field_43063
private static final int field_43063- See Also:
- Mappings:
Namespace Name Mixin selector named field_43063
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43063:I
intermediary field_43063
Lnet/minecraft/class_8209;field_43063:I
official b
Lfjv;b:I
-
field_43064
private static final int field_43064- See Also:
- Mappings:
Namespace Name Mixin selector named field_43064
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43064:I
intermediary field_43064
Lnet/minecraft/class_8209;field_43064:I
official c
Lfjv;c:I
-
field_43065
private static final int field_43065- See Also:
- Mappings:
Namespace Name Mixin selector named field_43065
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43065:I
intermediary field_43065
Lnet/minecraft/class_8209;field_43065:I
official d
Lfjv;d:I
-
field_43066
private static final int field_43066- See Also:
- Mappings:
Namespace Name Mixin selector named field_43066
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43066:I
intermediary field_43066
Lnet/minecraft/class_8209;field_43066:I
official e
Lfjv;e:I
-
field_43067
private static final int field_43067- See Also:
- Mappings:
Namespace Name Mixin selector named field_43067
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43067:I
intermediary field_43067
Lnet/minecraft/class_8209;field_43067:I
official f
Lfjv;f:I
-
tabManager
- Mappings:
Namespace Name Mixin selector named tabManager
Lnet/minecraft/client/gui/widget/TabButtonWidget;tabManager:Lnet/minecraft/client/gui/tab/TabManager;
intermediary field_43068
Lnet/minecraft/class_8209;field_43068:Lnet/minecraft/class_8088;
official m
Lfjv;m:Lfkp;
-
tab
- Mappings:
Namespace Name Mixin selector named tab
Lnet/minecraft/client/gui/widget/TabButtonWidget;tab:Lnet/minecraft/client/gui/tab/Tab;
intermediary field_43069
Lnet/minecraft/class_8209;field_43069:Lnet/minecraft/class_8087;
official n
Lfjv;n:Lfko;
-
-
Constructor Details
-
TabButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/TabButtonWidget;<init>(Lnet/minecraft/client/gui/tab/TabManager;Lnet/minecraft/client/gui/tab/Tab;II)V
intermediary <init>
Lnet/minecraft/class_8209;<init>(Lnet/minecraft/class_8088;Lnet/minecraft/class_8087;II)V
official <init>
Lfjv;<init>(Lfkp;Lfko;II)V
-
-
Method Details
-
renderWidget
- Specified by:
renderWidget
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
official b
Lfik;b(Lfhz;IIF)V
-
renderBackgroundTexture
protected void renderBackgroundTexture(DrawContext context, int left, int top, int right, int bottom) - Mappings:
Namespace Name Mixin selector named renderBackgroundTexture
Lnet/minecraft/client/gui/widget/TabButtonWidget;renderBackgroundTexture(Lnet/minecraft/client/gui/DrawContext;IIII)V
intermediary method_58230
Lnet/minecraft/class_8209;method_58230(Lnet/minecraft/class_332;IIII)V
official a
Lfjv;a(Lfhz;IIII)V
-
drawMessage
- Mappings:
Namespace Name Mixin selector named drawMessage
Lnet/minecraft/client/gui/widget/TabButtonWidget;drawMessage(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;I)V
intermediary method_49608
Lnet/minecraft/class_8209;method_49608(Lnet/minecraft/class_332;Lnet/minecraft/class_327;I)V
official a
Lfjv;a(Lfhz;Lfhx;I)V
-
drawCurrentTabLine
- Mappings:
Namespace Name Mixin selector named drawCurrentTabLine
Lnet/minecraft/client/gui/widget/TabButtonWidget;drawCurrentTabLine(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;I)V
intermediary method_49610
Lnet/minecraft/class_8209;method_49610(Lnet/minecraft/class_332;Lnet/minecraft/class_327;I)V
official b
Lfjv;b(Lfhz;Lfhx;I)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named appendClickableNarrations
Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
intermediary method_47399
Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
official a
Lfik;a(Lfmi;)V
-
playDownSound
- Overrides:
playDownSound
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named playDownSound
Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
intermediary method_25354
Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V
official a
Lfik;a(Lgvf;)V
-
getTab
- Mappings:
Namespace Name Mixin selector named getTab
Lnet/minecraft/client/gui/widget/TabButtonWidget;getTab()Lnet/minecraft/client/gui/tab/Tab;
intermediary method_49609
Lnet/minecraft/class_8209;method_49609()Lnet/minecraft/class_8087;
official a
Lfjv;a()Lfko;
-
isCurrentTab
public boolean isCurrentTab()- Mappings:
Namespace Name Mixin selector named isCurrentTab
Lnet/minecraft/client/gui/widget/TabButtonWidget;isCurrentTab()Z
intermediary method_49611
Lnet/minecraft/class_8209;method_49611()Z
official b
Lfjv;b()Z
-