Class TextRenderingUtils

java.lang.Object
net.minecraft.client.realms.util.TextRenderingUtils

@Environment(CLIENT) public class TextRenderingUtils extends Object
Mappings:
Namespace Name
official emg
intermediary net/minecraft/class_4450
named net/minecraft/client/realms/util/TextRenderingUtils
  • Constructor Details

    • TextRenderingUtils

      private TextRenderingUtils()
  • Method Details

    • lineBreak

      protected static List<String> lineBreak(String text)
      Mappings:
      Namespace Name Mixin selector
      official a Lemg;a(Ljava/lang/String;)Ljava/util/List;
      intermediary method_21575 Lnet/minecraft/class_4450;method_21575(Ljava/lang/String;)Ljava/util/List;
      named lineBreak Lnet/minecraft/client/realms/util/TextRenderingUtils;lineBreak(Ljava/lang/String;)Ljava/util/List;
    • decompose

      public static List<TextRenderingUtils.Line> decompose(String text, TextRenderingUtils.LineSegment[] links)
      Mappings:
      Namespace Name Mixin selector
      official a Lemg;a(Ljava/lang/String;[Lemg$b;)Ljava/util/List;
      intermediary method_21578 Lnet/minecraft/class_4450;method_21578(Ljava/lang/String;[Lnet/minecraft/class_4450$class_4452;)Ljava/util/List;
      named decompose Lnet/minecraft/client/realms/util/TextRenderingUtils;decompose(Ljava/lang/String;[Lnet/minecraft/client/realms/util/TextRenderingUtils$LineSegment;)Ljava/util/List;
    • decompose

      private static List<TextRenderingUtils.Line> decompose(String text, List<TextRenderingUtils.LineSegment> links)
      Mappings:
      Namespace Name Mixin selector
      official a Lemg;a(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
      intermediary method_21577 Lnet/minecraft/class_4450;method_21577(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
      named decompose Lnet/minecraft/client/realms/util/TextRenderingUtils;decompose(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
    • insertLinks

      private static List<TextRenderingUtils.Line> insertLinks(List<String> lines, List<TextRenderingUtils.LineSegment> links)
      Mappings:
      Namespace Name Mixin selector
      official a Lemg;a(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
      intermediary method_21579 Lnet/minecraft/class_4450;method_21579(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
      named insertLinks Lnet/minecraft/client/realms/util/TextRenderingUtils;insertLinks(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
    • split

      public static List<String> split(String line, String delimiter)
      Mappings:
      Namespace Name Mixin selector
      official a Lemg;a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
      intermediary method_21576 Lnet/minecraft/class_4450;method_21576(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
      named split Lnet/minecraft/client/realms/util/TextRenderingUtils;split(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;