Package net.minecraft.client.realms.util
Class TextRenderingUtils
java.lang.Object
net.minecraft.client.realms.util.TextRenderingUtils
@Environment(CLIENT) public class TextRenderingUtils extends Object
- Mappings:
Namespace Name official dpd
intermediary net/minecraft/class_4450
named net/minecraft/client/realms/util/TextRenderingUtils
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TextRenderingUtils.Line
static class
TextRenderingUtils.LineSegment
-
Constructor Summary
Constructors Constructor Description TextRenderingUtils()
-
Method Summary
Modifier and Type Method Description private static List<TextRenderingUtils.Line>
decompose(String text, List<TextRenderingUtils.LineSegment> links)
static List<TextRenderingUtils.Line>
decompose(String text, TextRenderingUtils.LineSegment[] links)
private static List<TextRenderingUtils.Line>
insertLinks(List<String> lines, List<TextRenderingUtils.LineSegment> links)
protected static List<String>
lineBreak(String text)
static List<String>
split(String line, String delimiter)
-
Constructor Details
-
TextRenderingUtils
public TextRenderingUtils()
-
-
Method Details
-
lineBreak
- Mappings:
Namespace Name Mixin selector official a
Ldpd;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
Ldpd;a(Ljava/lang/String;[Ldpd$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
Ldpd;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
Ldpd;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
- Mappings:
Namespace Name Mixin selector official a
Ldpd;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;
-