Package net.minecraft.client.gui.widget
Class NarratedMultilineTextWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.AbstractTextWidget
net.minecraft.client.gui.widget.MultilineTextWidget
net.minecraft.client.gui.widget.NarratedMultilineTextWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/NarratedMultilineTextWidget
intermediary net/minecraft/class_8019
official fhq
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private static final int
private final int
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
ConstructorDescriptionNarratedMultilineTextWidget
(int maxWidth, Text message, TextRenderer textRenderer) NarratedMultilineTextWidget
(int maxWidth, Text message, TextRenderer textRenderer, boolean alwaysShowBorders, int margin) NarratedMultilineTextWidget
(int maxWidth, Text message, TextRenderer textRenderer, int margin) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
initMaxWidth
(int baseWidth) void
playDownSound
(SoundManager soundManager) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.MultilineTextWidget
getHeight, getWidth, setCentered, setMaxRows, setMaxWidth, setTextColor
Methods inherited from class net.minecraft.client.gui.widget.AbstractTextWidget
getTextColor, getTextRenderer
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, 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
-
DEFAULT_MARGIN
private static final int DEFAULT_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_MARGIN
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;DEFAULT_MARGIN:I
intermediary field_41802
Lnet/minecraft/class_8019;field_41802:I
official a
Lfhq;a:I
-
alwaysShowBorders
private final boolean alwaysShowBorders- Mappings:
Namespace Name Mixin selector named alwaysShowBorders
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;alwaysShowBorders:Z
intermediary field_45355
Lnet/minecraft/class_8019;field_45355:Z
official b
Lfhq;b:Z
-
margin
private final int margin- Mappings:
Namespace Name Mixin selector named margin
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;margin:I
intermediary field_49480
Lnet/minecraft/class_8019;field_49480:I
official c
Lfhq;c:I
-
-
Constructor Details
-
NarratedMultilineTextWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;<init>(ILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
intermediary <init>
Lnet/minecraft/class_8019;<init>(ILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
official <init>
Lfhq;<init>(ILxp;Lfgq;)V
-
NarratedMultilineTextWidget
public NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer, int margin) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;<init>(ILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;I)V
intermediary <init>
Lnet/minecraft/class_8019;<init>(ILnet/minecraft/class_2561;Lnet/minecraft/class_327;I)V
official <init>
Lfhq;<init>(ILxp;Lfgq;I)V
-
NarratedMultilineTextWidget
public NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer, boolean alwaysShowBorders, int margin) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;<init>(ILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;ZI)V
intermediary <init>
Lnet/minecraft/class_8019;<init>(ILnet/minecraft/class_2561;Lnet/minecraft/class_327;ZI)V
official <init>
Lfhq;<init>(ILxp;Lfgq;ZI)V
-
-
Method Details
-
initMaxWidth
public void initMaxWidth(int baseWidth) - Mappings:
Namespace Name Mixin selector named initMaxWidth
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;initMaxWidth(I)V
intermediary method_57721
Lnet/minecraft/class_8019;method_57721(I)V
official b
Lfhq;b(I)V
-
appendClickableNarrations
- Overrides:
appendClickableNarrations
in classAbstractTextWidget
- 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
Lfhd;a(Lflb;)V
-
renderWidget
- Overrides:
renderWidget
in classMultilineTextWidget
- 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
Lfhd;b(Lfgs;IIF)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
Lfhd;a(Lgtw;)V
-