Class NarratedMultilineTextWidget

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

@Environment(CLIENT) public class NarratedMultilineTextWidget extends MultilineTextWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/NarratedMultilineTextWidget
intermediary net/minecraft/class_8019
official fix
  • 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 Lfix;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 Lfix;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 Lfix;c:I
  • Constructor Details

    • NarratedMultilineTextWidget

      public NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer)
      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> Lfix;<init>(ILwz;Lfhx;)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> Lfix;<init>(ILwz;Lfhx;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> Lfix;<init>(ILwz;Lfhx;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 Lfix;b(I)V
    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Overrides:
      appendClickableNarrations in class AbstractTextWidget
      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 Lfik;a(Lfmi;)V
    • renderWidget

      public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderWidget in class MultilineTextWidget
      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 Lfik;b(Lfhz;IIF)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ClickableWidget
      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 Lfik;a(Lgvf;)V