Package net.minecraft.client.realms.util
Class TextRenderingUtils
java.lang.Object
net.minecraft.client.realms.util.TextRenderingUtils
@Environment(CLIENT) public class TextRenderingUtils extends Object
-
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
-
decompose
public static List<TextRenderingUtils.Line> decompose(String text, TextRenderingUtils.LineSegment[] links) -
decompose
private static List<TextRenderingUtils.Line> decompose(String text, List<TextRenderingUtils.LineSegment> links) -
insertLinks
private static List<TextRenderingUtils.Line> insertLinks(List<String> lines, List<TextRenderingUtils.LineSegment> links) -
split
-