Interface MultilineText


@Environment(CLIENT) public interface MultilineText
Mappings:
Namespace Name
named net/minecraft/client/font/MultilineText
intermediary net/minecraft/class_5489
official foy
  • 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 Lfoy;a:Lfoy;
  • 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 Lfoy;a(Lfnp;[Lxv;)Lfoy;
    • 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 Lfoy;a(Lfnp;I[Lxv;)Lfoy;
    • 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 Lfoy;a(Lfnp;Lxv;I)Lfoy;
    • 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 Lfoy;a(Lfnp;II[Lxv;)Lfoy;
    • 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 Lfoy;a(Lfnr;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 Lfoy;a(Lfnr;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 Lfoy;b(Lfnr;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 Lfoy;c(Lfnr;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 Lfoy;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 Lfoy;b()I