net.minecraft.util

public class StringUtil

aqb
net.minecraft.util.StringUtil
net.minecraft.class_3544
net.minecraft.unmapped.C_myfdnbpo
net.minecraft.util.StringHelper
net.minecraft.util.ChatUtil
net.minecraft.src.C_200_
net.minecraft.util.UtilColor

Field summary

Modifier and TypeField
private static final Pattern
a
STRIP_COLOR_PATTERN
field_15771
f_tsspjsfg
FORMATTING_CODE
PATTERN
f_14402_
private static final Pattern
b
LINE_PATTERN
field_29204
f_epjjitwx
LINE_BREAK
LINE_BREAK
f_144995_
private static final Pattern
c
LINE_END_PATTERN
field_33559
f_bhkftefl
ENDS_WITH_LINE_BREAK
ENDS_WITH_LINE_BREAK
f_144996_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static String
a(int arg0)
formatTickDuration(int arg0)
method_15439(int arg0)
m_rxjvteqh(int arg0)
formatTicks(int ticks)
ticksToString(int ticks)
m_14404_(int p_14405_)
public static String
a(String arg0)
stripColor(String arg0)
method_15440(String arg0)
m_qqtrqjob(String arg0)
stripTextFormat(String text)
stripTextFormat(String text)
m_14406_(String p_14407_)
public static boolean
b(String arg0)
isNullOrEmpty(String arg0)
method_15438(String arg0)
m_abbwkasr(String arg0)
isEmpty(String text)
isEmpty(String text)
m_14408_(String p_14409_)
public static String
a(String arg0, int arg1, boolean arg2)
truncateStringIfNecessary(String arg0, int arg1, boolean arg2)
method_34963(String arg0, int arg1, boolean arg2)
m_vvxzwzcp(String arg0, int arg1, boolean arg2)
truncate(String text, int maxLength, boolean addEllipsis)
truncate(String text, int maxLength, boolean addEllipsis)
m_144998_(String p_144999_, int p_145000_, boolean p_145001_)
public static int
c(String arg0)
lineCount(String arg0)
method_34238(String arg0)
m_laqnwome(String arg0)
countLines(String text)
countLines(String text)
m_145002_(String p_145003_)
public static boolean
d(String arg0)
endsWithNewLine(String arg0)
method_36358(String arg0)
m_lxtzyqql(String arg0)
endsWithLineBreak(String text)
endsWithLineBreak(String text)
m_145004_(String p_145005_)
public static String
e(String arg0)
trimChatMessage(String arg0)
method_43681(String arg0)
m_unbbnfnr(String arg0)
truncateChat(String text)
cutString(String string)
m_216469_(String p_216470_)