Package net.minecraft.client.gui.widget
Class TabButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.TabButtonWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Mappings:
Namespace Name official epe
intermediary net/minecraft/class_8209
named net/minecraft/client/gui/widget/TabButtonWidget
-
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 static final int
private static final int
private static final int
private static final int
private final Tab
private final TabManager
private static final Identifier
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
private void
drawCurrentTabLine
(MatrixStack matrices, TextRenderer textRenderer, int color) void
drawMessage
(MatrixStack matrices, TextRenderer textRenderer, int color) getTab()
protected int
boolean
void
playDownSound
(SoundManager soundManager) void
renderButton
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawTexture, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, render, setAlpha, setFocused, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lepe;a:Ladd;
intermediary field_43058
Lnet/minecraft/class_8209;field_43058:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/gui/widget/TabButtonWidget;TEXTURE:Lnet/minecraft/util/Identifier;
-
field_43059
private static final int field_43059- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lepe;b:I
intermediary field_43059
Lnet/minecraft/class_8209;field_43059:I
named field_43059
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43059:I
-
field_43060
private static final int field_43060- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lepe;c:I
intermediary field_43060
Lnet/minecraft/class_8209;field_43060:I
named field_43060
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43060:I
-
field_43061
private static final int field_43061- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lepe;d:I
intermediary field_43061
Lnet/minecraft/class_8209;field_43061:I
named field_43061
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43061:I
-
field_43062
private static final int field_43062- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lepe;e:I
intermediary field_43062
Lnet/minecraft/class_8209;field_43062:I
named field_43062
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43062:I
-
field_43063
private static final int field_43063- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lepe;f:I
intermediary field_43063
Lnet/minecraft/class_8209;field_43063:I
named field_43063
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43063:I
-
field_43064
private static final int field_43064- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lepe;k:I
intermediary field_43064
Lnet/minecraft/class_8209;field_43064:I
named field_43064
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43064:I
-
field_43065
private static final int field_43065- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lepe;l:I
intermediary field_43065
Lnet/minecraft/class_8209;field_43065:I
named field_43065
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43065:I
-
field_43066
private static final int field_43066- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lepe;m:I
intermediary field_43066
Lnet/minecraft/class_8209;field_43066:I
named field_43066
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43066:I
-
field_43067
private static final int field_43067- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lepe;n:I
intermediary field_43067
Lnet/minecraft/class_8209;field_43067:I
named field_43067
Lnet/minecraft/client/gui/widget/TabButtonWidget;field_43067:I
-
tabManager
- Mappings:
Namespace Name Mixin selector official o
Lepe;o:Leps;
intermediary field_43068
Lnet/minecraft/class_8209;field_43068:Lnet/minecraft/class_8088;
named tabManager
Lnet/minecraft/client/gui/widget/TabButtonWidget;tabManager:Lnet/minecraft/client/gui/tab/TabManager;
-
tab
- Mappings:
Namespace Name Mixin selector official p
Lepe;p:Lepr;
intermediary field_43069
Lnet/minecraft/class_8209;field_43069:Lnet/minecraft/class_8087;
named tab
Lnet/minecraft/client/gui/widget/TabButtonWidget;tab:Lnet/minecraft/client/gui/tab/Tab;
-
-
Constructor Details
-
TabButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>
Lepe;<init>(Leps;Lepr;II)V
intermediary <init>
Lnet/minecraft/class_8209;<init>(Lnet/minecraft/class_8088;Lnet/minecraft/class_8087;II)V
named <init>
Lnet/minecraft/client/gui/widget/TabButtonWidget;<init>(Lnet/minecraft/client/gui/tab/TabManager;Lnet/minecraft/client/gui/tab/Tab;II)V
-
-
Method Details
-
renderButton
- Specified by:
renderButton
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official b
Lenz;b(Lehe;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_4587;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawMessage
- Mappings:
Namespace Name Mixin selector official a
Lepe;a(Lehe;Lenp;I)V
intermediary method_49608
Lnet/minecraft/class_8209;method_49608(Lnet/minecraft/class_4587;Lnet/minecraft/class_327;I)V
named drawMessage
Lnet/minecraft/client/gui/widget/TabButtonWidget;drawMessage(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/font/TextRenderer;I)V
-
drawCurrentTabLine
- Mappings:
Namespace Name Mixin selector official b
Lepe;b(Lehe;Lenp;I)V
intermediary method_49610
Lnet/minecraft/class_8209;method_49610(Lnet/minecraft/class_4587;Lnet/minecraft/class_327;I)V
named drawCurrentTabLine
Lnet/minecraft/client/gui/widget/TabButtonWidget;drawCurrentTabLine(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/font/TextRenderer;I)V
-
getTextureV
protected int getTextureV()- Mappings:
Namespace Name Mixin selector official a
Lepe;a()I
intermediary method_49607
Lnet/minecraft/class_8209;method_49607()I
named getTextureV
Lnet/minecraft/client/gui/widget/TabButtonWidget;getTextureV()I
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official a
Lenz;a(Lere;)V
intermediary method_47399
Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
named appendClickableNarrations
Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
playDownSound
- Overrides:
playDownSound
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official a
Lenz;a(Lfxj;)V
intermediary method_25354
Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V
named playDownSound
Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
-
getTab
- Mappings:
Namespace Name Mixin selector official b
Lepe;b()Lepr;
intermediary method_49609
Lnet/minecraft/class_8209;method_49609()Lnet/minecraft/class_8087;
named getTab
Lnet/minecraft/client/gui/widget/TabButtonWidget;getTab()Lnet/minecraft/client/gui/tab/Tab;
-
isCurrentTab
public boolean isCurrentTab()- Mappings:
Namespace Name Mixin selector official e
Lepe;e()Z
intermediary method_49611
Lnet/minecraft/class_8209;method_49611()Z
named isCurrentTab
Lnet/minecraft/client/gui/widget/TabButtonWidget;isCurrentTab()Z
-