Class NarratedMultilineTextWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class NarratedMultilineTextWidget extends MultilineTextWidget
Mappings:
Namespace Name
official exr
intermediary net/minecraft/class_8019
named net/minecraft/client/gui/widget/NarratedMultilineTextWidget
  • Field Details

    • BACKGROUND_COLOR

      private static final int BACKGROUND_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lexr;a: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 b Lexr;b:I
      intermediary field_41802 Lnet/minecraft/class_8019;field_41802:I
      named EXPANSION Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;EXPANSION:I
    • alwaysShowBorders

      private final boolean alwaysShowBorders
      Mappings:
      Namespace Name Mixin selector
      official c Lexr;c:Z
      intermediary field_45355 Lnet/minecraft/class_8019;field_45355:Z
      named alwaysShowBorders Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;alwaysShowBorders:Z
  • Constructor Details

    • NarratedMultilineTextWidget

      public NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexr;<init>(ILvf;Lews;)V
      intermediary <init> Lnet/minecraft/class_8019;<init>(ILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
      named <init> Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;<init>(ILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
    • NarratedMultilineTextWidget

      public NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer, boolean alwaysShowBorders)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexr;<init>(ILvf;Lews;Z)V
      intermediary <init> Lnet/minecraft/class_8019;<init>(ILnet/minecraft/class_2561;Lnet/minecraft/class_327;Z)V
      named <init> Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;<init>(ILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;Z)V
  • Method Details

    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Overrides:
      appendClickableNarrations in class AbstractTextWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lexe;a(Lfaz;)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
    • renderWidget

      public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderWidget in class MultilineTextWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lexe;b(Lewu;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderWidget Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lexe;a(Lgje;)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