Package net.minecraft.util.text
Class TextProcessing
- java.lang.Object
-
- net.minecraft.util.text.TextProcessing
-
public class TextProcessing extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Optional<java.lang.Object>
STOP_ITERATION
-
Constructor Summary
Constructors Constructor Description TextProcessing()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
feedChar(Style p_238344_0_, ICharacterConsumer p_238344_1_, int p_238344_2_, char p_238344_3_)
static java.lang.String
filterBrokenSurrogates(java.lang.String p_238338_0_)
static java.lang.String
getPlainText(ITextProperties p_244782_0_)
static boolean
iterate(java.lang.String p_238341_0_, Style p_238341_1_, ICharacterConsumer p_238341_2_)
static boolean
iterateBackwards(java.lang.String p_238345_0_, Style p_238345_1_, ICharacterConsumer p_238345_2_)
static boolean
iterateFormatted(java.lang.String p_238339_0_, int p_238339_1_, Style p_238339_2_, ICharacterConsumer p_238339_3_)
static boolean
iterateFormatted(java.lang.String p_238340_0_, int p_238340_1_, Style p_238340_2_, Style p_238340_3_, ICharacterConsumer p_238340_4_)
static boolean
iterateFormatted(java.lang.String p_238346_0_, Style p_238346_1_, ICharacterConsumer p_238346_2_)
static boolean
iterateFormatted(ITextProperties p_238343_0_, Style p_238343_1_, ICharacterConsumer p_238343_2_)
-
-
-
Method Detail
-
feedChar
private static boolean feedChar(Style p_238344_0_, ICharacterConsumer p_238344_1_, int p_238344_2_, char p_238344_3_)
-
iterate
public static boolean iterate(java.lang.String p_238341_0_, Style p_238341_1_, ICharacterConsumer p_238341_2_)
-
iterateBackwards
public static boolean iterateBackwards(java.lang.String p_238345_0_, Style p_238345_1_, ICharacterConsumer p_238345_2_)
-
iterateFormatted
public static boolean iterateFormatted(java.lang.String p_238346_0_, Style p_238346_1_, ICharacterConsumer p_238346_2_)
-
iterateFormatted
public static boolean iterateFormatted(java.lang.String p_238339_0_, int p_238339_1_, Style p_238339_2_, ICharacterConsumer p_238339_3_)
-
iterateFormatted
public static boolean iterateFormatted(java.lang.String p_238340_0_, int p_238340_1_, Style p_238340_2_, Style p_238340_3_, ICharacterConsumer p_238340_4_)
-
iterateFormatted
public static boolean iterateFormatted(ITextProperties p_238343_0_, Style p_238343_1_, ICharacterConsumer p_238343_2_)
-
filterBrokenSurrogates
public static java.lang.String filterBrokenSurrogates(java.lang.String p_238338_0_)
-
getPlainText
public static java.lang.String getPlainText(ITextProperties p_244782_0_)
-
-