net.minecraft.util

public class StringUtil

bbb
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, float arg1)
formatTickDuration(int arg0, float arg1)
method_15439(int arg0, float arg1)
m_rxjvteqh(int arg0, float arg1)
formatTicks(int ticks, float tickRate)
ticksToString(int ticks, float tickRate)
m_14404_(int p_14405_, float p_313197_)
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_)
public static boolean
a(char arg0)
isAllowedChatCharacter(char arg0)
method_57175(char arg0)
m_nxomzypd(char arg0)
isValidChar(char c)
m_324425_(char p_336025_)
public static boolean
f(String arg0)
isValidPlayerName(String arg0)
method_57179(String arg0)
m_anvjegoa(String arg0)
isValidPlayerName(String name)
isValidPlayerName(String playerName)
m_319148_(String p_328576_)
public static String
g(String arg0)
filterText(String arg0)
method_57180(String arg0)
m_hrsdltcl(String arg0)
stripInvalidChars(String string)
m_319203_(String p_329405_)
public static String
a(String arg0, boolean arg1)
filterText(String arg0, boolean arg1)
method_57177(String arg0, boolean arg1)
m_gximahhw(String arg0, boolean arg1)
stripInvalidChars(String string, boolean allowLinebreak)
m_323063_(String p_335196_, boolean p_329791_)
public static boolean
a(int arg0)
isWhitespace(int arg0)
method_57176(int arg0)
m_qnflfpme(int arg0)
isWhitespace(int c)
m_321934_(int p_332672_)
public static boolean
h(String arg0)
isBlank(String arg0)
method_57181(String arg0)
m_qigplvsl(String arg0)
isBlank(String string)
m_320314_(String p_334499_)