Interface MultilineText


@Environment(CLIENT) public interface MultilineText
Mappings:
Namespace Name
named net/minecraft/client/font/MultilineText
intermediary net/minecraft/class_5489
official fjf
  • Field Details

    • EMPTY

      static final MultilineText EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/client/font/MultilineText;EMPTY:Lnet/minecraft/client/font/MultilineText;
      intermediary field_26528 Lnet/minecraft/class_5489;field_26528:Lnet/minecraft/class_5489;
      official a Lfjf;a:Lfjf;
  • Method Details

    • create

      static MultilineText create(TextRenderer renderer, Text[] texts)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;[Lnet/minecraft/text/Text;)Lnet/minecraft/client/font/MultilineText;
      intermediary method_30892 Lnet/minecraft/class_5489;method_30892(Lnet/minecraft/class_327;[Lnet/minecraft/class_2561;)Lnet/minecraft/class_5489;
      official a Lfjf;a(Lfhx;[Lwz;)Lfjf;
    • create

      static MultilineText create(TextRenderer renderer, int maxWidth, Text[] texts)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;I[Lnet/minecraft/text/Text;)Lnet/minecraft/client/font/MultilineText;
      intermediary method_61133 Lnet/minecraft/class_5489;method_61133(Lnet/minecraft/class_327;I[Lnet/minecraft/class_2561;)Lnet/minecraft/class_5489;
      official a Lfjf;a(Lfhx;I[Lwz;)Lfjf;
    • create

      static MultilineText create(TextRenderer renderer, Text text, int maxWidth)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;I)Lnet/minecraft/client/font/MultilineText;
      intermediary method_30890 Lnet/minecraft/class_5489;method_30890(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;I)Lnet/minecraft/class_5489;
      official a Lfjf;a(Lfhx;Lwz;I)Lfjf;
    • create

      static MultilineText create(TextRenderer renderer, int maxWidth, int maxLines, Text[] texts)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;II[Lnet/minecraft/text/Text;)Lnet/minecraft/client/font/MultilineText;
      intermediary method_61132 Lnet/minecraft/class_5489;method_61132(Lnet/minecraft/class_327;II[Lnet/minecraft/class_2561;)Lnet/minecraft/class_5489;
      official a Lfjf;a(Lfhx;II[Lwz;)Lfjf;
    • drawCenterWithShadow

      void drawCenterWithShadow(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawCenterWithShadow Lnet/minecraft/client/font/MultilineText;drawCenterWithShadow(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_30888 Lnet/minecraft/class_5489;method_30888(Lnet/minecraft/class_332;II)V
      official a Lfjf;a(Lfhz;II)V
    • drawCenterWithShadow

      void drawCenterWithShadow(DrawContext context, int x, int y, int lineHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawCenterWithShadow Lnet/minecraft/client/font/MultilineText;drawCenterWithShadow(Lnet/minecraft/client/gui/DrawContext;IIII)V
      intermediary method_30889 Lnet/minecraft/class_5489;method_30889(Lnet/minecraft/class_332;IIII)V
      official a Lfjf;a(Lfhz;IIII)V
    • drawWithShadow

      void drawWithShadow(DrawContext context, int x, int y, int lineHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawWithShadow Lnet/minecraft/client/font/MultilineText;drawWithShadow(Lnet/minecraft/client/gui/DrawContext;IIII)V
      intermediary method_30893 Lnet/minecraft/class_5489;method_30893(Lnet/minecraft/class_332;IIII)V
      official b Lfjf;b(Lfhz;IIII)V
    • draw

      int draw(DrawContext context, int x, int y, int lineHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/font/MultilineText;draw(Lnet/minecraft/client/gui/DrawContext;IIII)I
      intermediary method_30896 Lnet/minecraft/class_5489;method_30896(Lnet/minecraft/class_332;IIII)I
      official c Lfjf;c(Lfhz;IIII)I
    • count

      int count()
      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/client/font/MultilineText;count()I
      intermediary method_30887 Lnet/minecraft/class_5489;method_30887()I
      official a Lfjf;a()I
    • getMaxWidth

      int getMaxWidth()
      Mappings:
      Namespace Name Mixin selector
      named getMaxWidth Lnet/minecraft/client/font/MultilineText;getMaxWidth()I
      intermediary method_44048 Lnet/minecraft/class_5489;method_44048()I
      official b Lfjf;b()I