Package net.minecraft.client.gui.widget
Class AbstractTextWidget
java.lang.Object
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 named net/minecraft/client/gui/widget/AbstractTextWidget
intermediary net/minecraft/class_8130
official fhd
-
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
active, alpha, height, hovered, visible, width
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, 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, playDownSound, render, renderWidget, 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
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRenderer
Lnet/minecraft/client/gui/widget/AbstractTextWidget;textRenderer:Lnet/minecraft/client/font/TextRenderer;
intermediary field_42483
Lnet/minecraft/class_8130;field_42483:Lnet/minecraft/class_327;
official a
Lfhd;a:Lfgr;
-
textColor
private int textColor- Mappings:
Namespace Name Mixin selector named textColor
Lnet/minecraft/client/gui/widget/AbstractTextWidget;textColor:I
intermediary field_42484
Lnet/minecraft/class_8130;field_42484:I
official b
Lfhd;b:I
-
-
Constructor Details
-
AbstractTextWidget
public AbstractTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/AbstractTextWidget;<init>(IIIILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
intermediary <init>
Lnet/minecraft/class_8130;<init>(IIIILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
official <init>
Lfhd;<init>(IIIILxp;Lfgr;)V
-
-
Method Details
-
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
Lfhe;a(Lflc;)V
-
setTextColor
- Mappings:
Namespace Name Mixin selector named setTextColor
Lnet/minecraft/client/gui/widget/AbstractTextWidget;setTextColor(I)Lnet/minecraft/client/gui/widget/AbstractTextWidget;
intermediary method_48978
Lnet/minecraft/class_8130;method_48978(I)Lnet/minecraft/class_8130;
official a
Lfhd;a(I)Lfhd;
-
getTextRenderer
- Mappings:
Namespace Name Mixin selector named getTextRenderer
Lnet/minecraft/client/gui/widget/AbstractTextWidget;getTextRenderer()Lnet/minecraft/client/font/TextRenderer;
intermediary method_48977
Lnet/minecraft/class_8130;method_48977()Lnet/minecraft/class_327;
official a
Lfhd;a()Lfgr;
-
getTextColor
protected final int getTextColor()- Mappings:
Namespace Name Mixin selector named getTextColor
Lnet/minecraft/client/gui/widget/AbstractTextWidget;getTextColor()I
intermediary method_48979
Lnet/minecraft/class_8130;method_48979()I
official b
Lfhd;b()I
-