Class ScrollableTextWidget

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

@Environment(CLIENT) public class ScrollableTextWidget extends ScrollableTextFieldWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/ScrollableTextWidget
intermediary net/minecraft/class_8577
official fpe
  • Field Details Link icon

    • textRenderer Link icon

      private final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      named textRenderer Lnet/minecraft/client/gui/widget/ScrollableTextWidget;textRenderer:Lnet/minecraft/client/font/TextRenderer;
      intermediary field_44947 Lnet/minecraft/class_8577;field_44947:Lnet/minecraft/class_327;
      official a Lfpe;a:Lfod;
    • wrapped Link icon

      private final MultilineTextWidget wrapped
      Mappings:
      Namespace Name Mixin selector
      named wrapped Lnet/minecraft/client/gui/widget/ScrollableTextWidget;wrapped:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
      intermediary field_44948 Lnet/minecraft/class_8577;field_44948:Lnet/minecraft/class_7940;
      official c Lfpe;c:Lfpo;
  • Constructor Details Link icon

    • ScrollableTextWidget Link icon

      public ScrollableTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/widget/ScrollableTextWidget;<init>(IIIILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
      intermediary <init> Lnet/minecraft/class_8577;<init>(IIIILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
      official <init> Lfpe;<init>(IIIILwp;Lfod;)V
  • Method Details Link icon

    • textColor Link icon

      public ScrollableTextWidget textColor(int textColor)
      Mappings:
      Namespace Name Mixin selector
      named textColor Lnet/minecraft/client/gui/widget/ScrollableTextWidget;textColor(I)Lnet/minecraft/client/gui/widget/ScrollableTextWidget;
      intermediary method_52234 Lnet/minecraft/class_8577;method_52234(I)Lnet/minecraft/class_8577;
      official a Lfpe;a(I)Lfpe;
    • setWidth Link icon

      public void setWidth(int width)
      Overrides:
      setWidth in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named setWidth Lnet/minecraft/client/gui/widget/ClickableWidget;setWidth(I)V
      intermediary method_25358 Lnet/minecraft/class_339;method_25358(I)V
      official h Lfos;h(I)V
    • getContentsHeight Link icon

      protected int getContentsHeight()
      Specified by:
      getContentsHeight in class ScrollableTextFieldWidget
      Mappings:
      Namespace Name Mixin selector
      named getContentsHeight Lnet/minecraft/client/gui/widget/ScrollableTextFieldWidget;getContentsHeight()I
      intermediary method_44391 Lnet/minecraft/class_10415;method_44391()I
      official c Lfoq;c()I
    • getDeltaYPerScroll Link icon

      protected double getDeltaYPerScroll()
      Specified by:
      getDeltaYPerScroll in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      named getDeltaYPerScroll Lnet/minecraft/client/gui/widget/ScrollableWidget;getDeltaYPerScroll()D
      intermediary method_44393 Lnet/minecraft/class_7528;method_44393()D
      official o Lfom;o()D
    • drawBox Link icon

      protected void drawBox(DrawContext context)
      Overrides:
      drawBox in class ScrollableTextFieldWidget
      Mappings:
      Namespace Name Mixin selector
      named drawBox Lnet/minecraft/client/gui/widget/ScrollableTextFieldWidget;drawBox(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_44386 Lnet/minecraft/class_10415;method_44386(Lnet/minecraft/class_332;)V
      official c Lfoq;c(Lfof;)V
    • renderWidget Link icon

      public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderWidget in class ScrollableTextFieldWidget
      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 Lfos;b(Lfof;IIF)V
    • textOverflows Link icon

      public boolean textOverflows()
      Mappings:
      Namespace Name Mixin selector
      named textOverflows Lnet/minecraft/client/gui/widget/ScrollableTextWidget;textOverflows()Z
      intermediary method_53546 Lnet/minecraft/class_8577;method_53546()Z
      official q Lfpe;q()Z
    • renderContents Link icon

      protected void renderContents(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      renderContents in class ScrollableTextFieldWidget
      Mappings:
      Namespace Name Mixin selector
      named renderContents Lnet/minecraft/client/gui/widget/ScrollableTextFieldWidget;renderContents(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_44389 Lnet/minecraft/class_10415;method_44389(Lnet/minecraft/class_332;IIF)V
      official c Lfoq;c(Lfof;IIF)V
    • appendClickableNarrations Link icon

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      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 Lfos;a(Lfsr;)V