Interface MultilineText


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

    • EMPTY

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

    • create

      static MultilineText create(TextRenderer renderer, StringVisitable text, int width)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzm;a(Ldyl;Lqc;I)Ldzm;
      intermediary method_30890 Lnet/minecraft/class_5489;method_30890(Lnet/minecraft/class_327;Lnet/minecraft/class_5348;I)Lnet/minecraft/class_5489;
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/StringVisitable;I)Lnet/minecraft/client/font/MultilineText;
    • create

      static MultilineText create(TextRenderer renderer, StringVisitable text, int width, int maxLines)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzm;a(Ldyl;Lqc;II)Ldzm;
      intermediary method_30891 Lnet/minecraft/class_5489;method_30891(Lnet/minecraft/class_327;Lnet/minecraft/class_5348;II)Lnet/minecraft/class_5489;
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/StringVisitable;II)Lnet/minecraft/client/font/MultilineText;
    • create

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

      static MultilineText createFromTexts(TextRenderer renderer, List<Text> texts)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzm;a(Ldyl;Ljava/util/List;)Ldzm;
      intermediary method_35726 Lnet/minecraft/class_5489;method_35726(Lnet/minecraft/class_327;Ljava/util/List;)Lnet/minecraft/class_5489;
      named createFromTexts Lnet/minecraft/client/font/MultilineText;createFromTexts(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;)Lnet/minecraft/client/font/MultilineText;
    • create

      static MultilineText create(TextRenderer renderer, List<MultilineText.Line> lines)
      Mappings:
      Namespace Name Mixin selector
      official b Ldzm;b(Ldyl;Ljava/util/List;)Ldzm;
      intermediary method_30895 Lnet/minecraft/class_5489;method_30895(Lnet/minecraft/class_327;Ljava/util/List;)Lnet/minecraft/class_5489;
      named create Lnet/minecraft/client/font/MultilineText;create(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;)Lnet/minecraft/client/font/MultilineText;
    • drawCenterWithShadow

      int drawCenterWithShadow(MatrixStack matrices, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzm;a(Ldsj;II)I
      intermediary method_30888 Lnet/minecraft/class_5489;method_30888(Lnet/minecraft/class_4587;II)I
      named drawCenterWithShadow Lnet/minecraft/client/font/MultilineText;drawCenterWithShadow(Lnet/minecraft/client/util/math/MatrixStack;II)I
    • drawCenterWithShadow

      int drawCenterWithShadow(MatrixStack matrices, int x, int y, int lineHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzm;a(Ldsj;IIII)I
      intermediary method_30889 Lnet/minecraft/class_5489;method_30889(Lnet/minecraft/class_4587;IIII)I
      named drawCenterWithShadow Lnet/minecraft/client/font/MultilineText;drawCenterWithShadow(Lnet/minecraft/client/util/math/MatrixStack;IIII)I
    • drawWithShadow

      int drawWithShadow(MatrixStack matrices, int x, int y, int lineHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Ldzm;b(Ldsj;IIII)I
      intermediary method_30893 Lnet/minecraft/class_5489;method_30893(Lnet/minecraft/class_4587;IIII)I
      named drawWithShadow Lnet/minecraft/client/font/MultilineText;drawWithShadow(Lnet/minecraft/client/util/math/MatrixStack;IIII)I
    • draw

      int draw(MatrixStack matrices, int x, int y, int lineHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      official c Ldzm;c(Ldsj;IIII)I
      intermediary method_30896 Lnet/minecraft/class_5489;method_30896(Lnet/minecraft/class_4587;IIII)I
      named draw Lnet/minecraft/client/font/MultilineText;draw(Lnet/minecraft/client/util/math/MatrixStack;IIII)I
    • count

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