Package net.minecraft.client.gui.widget
Class MultilineTextWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.class_8130
net.minecraft.client.gui.widget.MultilineTextWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Direct Known Subclasses:
NarratedMultilineTextWidget
- Mappings:
Namespace Name official enl
intermediary net/minecraft/class_7940
named net/minecraft/client/gui/widget/MultilineTextWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private OptionalInt
private OptionalInt
private final class_8105<MultilineTextWidget.class_8131,
MultilineText> Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
ACCESSIBILITY_TEXTURE, active, alpha, field_41797, field_42118, field_42119, field_42120, height, hovered, visible, WIDGETS_TEXTURE, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionMultilineTextWidget
(int int2, int int3, Text text, TextRenderer textRenderer) MultilineTextWidget
(Text text, TextRenderer textRenderer) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getWidth()
method_48978
(int int2) method_48981
(boolean bool) private MultilineTextWidget.class_8131
method_48984
(int int2) method_48985
(int int2) void
renderButton
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.class_8130
appendClickableNarrations, method_48977, method_48979
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawMessage, drawTexture, forEachChild, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTexture, getTooltipPositioner, getType, getX, getY, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playDownSound, render, renderBackground, renderButton, setAlpha, setFocused, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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
-
field_42486
- Mappings:
Namespace Name Mixin selector official a
Lenl;a:Ljava/util/OptionalInt;
intermediary field_42486
Lnet/minecraft/class_7940;field_42486:Ljava/util/OptionalInt;
named field_42486
Lnet/minecraft/client/gui/widget/MultilineTextWidget;field_42486:Ljava/util/OptionalInt;
-
field_42487
- Mappings:
Namespace Name Mixin selector official b
Lenl;b:Ljava/util/OptionalInt;
intermediary field_42487
Lnet/minecraft/class_7940;field_42487:Ljava/util/OptionalInt;
named field_42487
Lnet/minecraft/client/gui/widget/MultilineTextWidget;field_42487:Ljava/util/OptionalInt;
-
field_42488
- Mappings:
Namespace Name Mixin selector official c
Lenl;c:Lapn;
intermediary field_42488
Lnet/minecraft/class_7940;field_42488:Lnet/minecraft/class_8105;
named field_42488
Lnet/minecraft/client/gui/widget/MultilineTextWidget;field_42488:Lnet/minecraft/class_8105;
-
centered
private boolean centered- Mappings:
Namespace Name Mixin selector official d
Lenl;d:Z
intermediary field_41343
Lnet/minecraft/class_7940;field_41343:Z
named centered
Lnet/minecraft/client/gui/widget/MultilineTextWidget;centered:Z
-
-
Constructor Details
-
MultilineTextWidget
-
MultilineTextWidget
-
-
Method Details
-
method_48978
- Overrides:
method_48978
in classclass_8130
- Mappings:
Namespace Name Mixin selector official i
Lenl;i(I)Lenl;
intermediary method_48983
Lnet/minecraft/class_7940;method_48983(I)Lnet/minecraft/class_7940;
named method_48978
Lnet/minecraft/client/gui/widget/MultilineTextWidget;method_48978(I)Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
method_48984
- Mappings:
Namespace Name Mixin selector official j
Lenl;j(I)Lenl;
intermediary method_48984
Lnet/minecraft/class_7940;method_48984(I)Lnet/minecraft/class_7940;
named method_48984
Lnet/minecraft/client/gui/widget/MultilineTextWidget;method_48984(I)Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
method_48985
- Mappings:
Namespace Name Mixin selector official k
Lenl;k(I)Lenl;
intermediary method_48985
Lnet/minecraft/class_7940;method_48985(I)Lnet/minecraft/class_7940;
named method_48985
Lnet/minecraft/client/gui/widget/MultilineTextWidget;method_48985(I)Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
method_48981
- Mappings:
Namespace Name Mixin selector official b
Lenl;b(Z)Lenl;
intermediary method_48981
Lnet/minecraft/class_7940;method_48981(Z)Lnet/minecraft/class_7940;
named method_48981
Lnet/minecraft/client/gui/widget/MultilineTextWidget;method_48981(Z)Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceWidget
- Overrides:
getWidth
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official k
Lepo;k()I
intermediary method_25368
Lnet/minecraft/class_8021;method_25368()I
named getWidth
Lnet/minecraft/client/gui/widget/Widget;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceWidget
- Overrides:
getHeight
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official h
Lepo;h()I
intermediary method_25364
Lnet/minecraft/class_8021;method_25364()I
named getHeight
Lnet/minecraft/client/gui/widget/Widget;getHeight()I
-
renderButton
- Overrides:
renderButton
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official b
Lems;b(Lega;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
-
method_48982
- Mappings:
Namespace Name Mixin selector official g
Lenl;g()Lenl$a;
intermediary method_48982
Lnet/minecraft/class_7940;method_48982()Lnet/minecraft/class_7940$class_8131;
named method_48982
Lnet/minecraft/client/gui/widget/MultilineTextWidget;method_48982()Lnet/minecraft/client/gui/widget/MultilineTextWidget$class_8131;
-