Class MultilineTextWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Direct Known Subclasses:
NarratedMultilineTextWidget

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

    • field_42486

      private OptionalInt 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

      private 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

      public MultilineTextWidget(Text text, TextRenderer textRenderer)
    • MultilineTextWidget

      public MultilineTextWidget(int int2, int int3, Text text, TextRenderer textRenderer)
  • Method Details

    • method_48978

      public MultilineTextWidget method_48978(int int2)
      Overrides:
      method_48978 in class class_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

      public MultilineTextWidget method_48984(int int2)
      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

      public MultilineTextWidget method_48985(int int2)
      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

      public MultilineTextWidget method_48981(boolean bool)
      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 interface Widget
      Overrides:
      getWidth in class ClickableWidget
      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 interface Widget
      Overrides:
      getHeight in class ClickableWidget
      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

      public void renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class ClickableWidget
      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

      private MultilineTextWidget.class_8131 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;