Package net.minecraft.util
Class StringUtil
java.lang.Object
net.minecraft.util.StringUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
endsWithNewLine(String p_145005_)
static String
formatTickDuration(int p_14405_)
static boolean
isNullOrEmpty(String p_14409_)
static int
static String
stripColor(String p_14407_)
static String
truncateStringIfNecessary(String p_144999_, int p_145000_, boolean p_145001_)
-
Field Details
-
STRIP_COLOR_PATTERN
-
LINE_PATTERN
-
LINE_END_PATTERN
-
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
formatTickDuration
-
stripColor
-
isNullOrEmpty
-
truncateStringIfNecessary
-
lineCount
-
endsWithNewLine
-