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 official epg
intermediary net/minecraft/class_8019
named net/minecraft/client/gui/widget/NarratedMultilineTextWidget
-
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
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionNarratedMultilineTextWidget
(TextRenderer textRenderer, Text text, int width) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
playDownSound
(SoundManager soundManager) void
renderButton
(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, drawTexture, forEachChild, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltip, getTooltipPositioner, getType, 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 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
-
FOCUSED_BORDER_COLOR
private static final int FOCUSED_BORDER_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lepg;a:I
intermediary field_41799
Lnet/minecraft/class_8019;field_41799:I
named FOCUSED_BORDER_COLOR
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;FOCUSED_BORDER_COLOR:I
-
UNFOCUSED_BORDER_COLOR
private static final int UNFOCUSED_BORDER_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lepg;b:I
intermediary field_41800
Lnet/minecraft/class_8019;field_41800:I
named UNFOCUSED_BORDER_COLOR
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;UNFOCUSED_BORDER_COLOR:I
-
BACKGROUND_COLOR
private static final int BACKGROUND_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lepg;c:I
intermediary field_41801
Lnet/minecraft/class_8019;field_41801:I
named BACKGROUND_COLOR
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;BACKGROUND_COLOR:I
-
EXPANSION
private static final int EXPANSION- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lepg;d:I
intermediary field_41802
Lnet/minecraft/class_8019;field_41802:I
named EXPANSION
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;EXPANSION:I
-
BORDER_WIDTH
private static final int BORDER_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lepg;e:I
intermediary field_41803
Lnet/minecraft/class_8019;field_41803:I
named BORDER_WIDTH
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;BORDER_WIDTH:I
-
-
Constructor Details
-
NarratedMultilineTextWidget
- Mappings:
Namespace Name Mixin selector official <init>
Lepg;<init>(Leov;Lsw;I)V
intermediary <init>
Lnet/minecraft/class_8019;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;I)V
named <init>
Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;I)V
-
-
Method Details
-
appendClickableNarrations
- Overrides:
appendClickableNarrations
in classAbstractTextWidget
- Mappings:
Namespace Name Mixin selector official a
Lepf;a(Lesp;)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
-
renderButton
- Overrides:
renderButton
in classMultilineTextWidget
- Mappings:
Namespace Name Mixin selector official b
Lepf;b(Leox;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
playDownSound
- Overrides:
playDownSound
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official a
Lepf;a(Lfzc;)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
-