Package net.minecraft.client.gui.widget
Class AbstractTextWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.AbstractTextWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Direct Known Subclasses:
MultilineTextWidget
,TextWidget
- Mappings:
Namespace Name official eny
intermediary net/minecraft/class_8130
named net/minecraft/client/gui/widget/AbstractTextWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
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
ConstructorDescriptionAbstractTextWidget
(int x, int y, int width, int height, Text message, TextRenderer textRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected final int
protected final TextRenderer
setTextColor
(int textColor) 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, playDownSound, render, renderButton, 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
-
textRenderer
- Mappings:
Namespace Name Mixin selector official a
Leny;a:Lenp;
intermediary field_42483
Lnet/minecraft/class_8130;field_42483:Lnet/minecraft/class_327;
named textRenderer
Lnet/minecraft/client/gui/widget/AbstractTextWidget;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
textColor
private int textColor- Mappings:
Namespace Name Mixin selector official b
Leny;b:I
intermediary field_42484
Lnet/minecraft/class_8130;field_42484:I
named textColor
Lnet/minecraft/client/gui/widget/AbstractTextWidget;textColor:I
-
-
Constructor Details
-
AbstractTextWidget
public AbstractTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) - Mappings:
Namespace Name Mixin selector official <init>
Leny;<init>(IIIILtj;Lenp;)V
intermediary <init>
Lnet/minecraft/class_8130;<init>(IIIILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
named <init>
Lnet/minecraft/client/gui/widget/AbstractTextWidget;<init>(IIIILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
-
-
Method Details
-
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
-
setTextColor
- Mappings:
Namespace Name Mixin selector official a
Leny;a(I)Leny;
intermediary method_48978
Lnet/minecraft/class_8130;method_48978(I)Lnet/minecraft/class_8130;
named setTextColor
Lnet/minecraft/client/gui/widget/AbstractTextWidget;setTextColor(I)Lnet/minecraft/client/gui/widget/AbstractTextWidget;
-
getTextRenderer
- Mappings:
Namespace Name Mixin selector official a
Leny;a()Lenp;
intermediary method_48977
Lnet/minecraft/class_8130;method_48977()Lnet/minecraft/class_327;
named getTextRenderer
Lnet/minecraft/client/gui/widget/AbstractTextWidget;getTextRenderer()Lnet/minecraft/client/font/TextRenderer;
-
getTextColor
protected final int getTextColor()- Mappings:
Namespace Name Mixin selector official b
Leny;b()I
intermediary method_48979
Lnet/minecraft/class_8130;method_48979()I
named getTextColor
Lnet/minecraft/client/gui/widget/AbstractTextWidget;getTextColor()I
-