Package net.minecraft.util
Class StringDecomposer
java.lang.Object
net.minecraft.util.StringDecomposer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final char
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
feedChar
(Style p_14333_, FormattedCharSink p_14334_, int p_14335_, char p_14336_) static String
filterBrokenSurrogates
(String p_14305_) static String
getPlainText
(FormattedText p_14327_) static boolean
iterate
(String p_14318_, Style p_14319_, FormattedCharSink p_14320_) static boolean
iterateBackwards
(String p_14338_, Style p_14339_, FormattedCharSink p_14340_) static boolean
iterateFormatted
(String p_14312_, int p_14313_, Style p_14314_, Style p_14315_, FormattedCharSink p_14316_) static boolean
iterateFormatted
(String p_14307_, int p_14308_, Style p_14309_, FormattedCharSink p_14310_) static boolean
iterateFormatted
(String p_14347_, Style p_14348_, FormattedCharSink p_14349_) static boolean
iterateFormatted
(FormattedText p_14329_, Style p_14330_, FormattedCharSink p_14331_)
-
Field Details
-
REPLACEMENT_CHAR
private static final char REPLACEMENT_CHAR- See Also:
-
STOP_ITERATION
-
-
Constructor Details
-
StringDecomposer
public StringDecomposer()
-
-
Method Details
-
feedChar
private static boolean feedChar(Style p_14333_, FormattedCharSink p_14334_, int p_14335_, char p_14336_) -
iterate
-
iterateBackwards
-
iterateFormatted
-
iterateFormatted
public static boolean iterateFormatted(String p_14307_, int p_14308_, Style p_14309_, FormattedCharSink p_14310_) -
iterateFormatted
public static boolean iterateFormatted(String p_14312_, int p_14313_, Style p_14314_, Style p_14315_, FormattedCharSink p_14316_) -
iterateFormatted
public static boolean iterateFormatted(FormattedText p_14329_, Style p_14330_, FormattedCharSink p_14331_) -
filterBrokenSurrogates
-
getPlainText
-