Package net.minecraft.util
Class ChatUtil
java.lang.Object
net.minecraft.util.ChatUtil
- Mappings:
Namespace Name official ahi
intermediary net/minecraft/class_3544
named net/minecraft/util/ChatUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
countLines
(String text) static boolean
endsWithLineBreak
(String text) static boolean
static String
stripTextFormat
(String text) static String
ticksToString
(int ticks) static String
-
Field Details
-
PATTERN
- Mappings:
Namespace Name Mixin selector official a
Lahi;a:Ljava/util/regex/Pattern;
intermediary field_15771
Lnet/minecraft/class_3544;field_15771:Ljava/util/regex/Pattern;
named PATTERN
Lnet/minecraft/util/ChatUtil;PATTERN:Ljava/util/regex/Pattern;
-
LINE_BREAK
- Mappings:
Namespace Name Mixin selector official b
Lahi;b:Ljava/util/regex/Pattern;
intermediary field_29204
Lnet/minecraft/class_3544;field_29204:Ljava/util/regex/Pattern;
named LINE_BREAK
Lnet/minecraft/util/ChatUtil;LINE_BREAK:Ljava/util/regex/Pattern;
-
ENDS_WITH_LINE_BREAK
- Mappings:
Namespace Name Mixin selector official c
Lahi;c:Ljava/util/regex/Pattern;
intermediary field_33559
Lnet/minecraft/class_3544;field_33559:Ljava/util/regex/Pattern;
named ENDS_WITH_LINE_BREAK
Lnet/minecraft/util/ChatUtil;ENDS_WITH_LINE_BREAK:Ljava/util/regex/Pattern;
-
-
Constructor Details
-
ChatUtil
public ChatUtil()
-
-
Method Details
-
ticksToString
- Mappings:
Namespace Name Mixin selector official a
Lahi;a(I)Ljava/lang/String;
intermediary method_15439
Lnet/minecraft/class_3544;method_15439(I)Ljava/lang/String;
named ticksToString
Lnet/minecraft/util/ChatUtil;ticksToString(I)Ljava/lang/String;
-
stripTextFormat
- Mappings:
Namespace Name Mixin selector official a
Lahi;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_15440
Lnet/minecraft/class_3544;method_15440(Ljava/lang/String;)Ljava/lang/String;
named stripTextFormat
Lnet/minecraft/util/ChatUtil;stripTextFormat(Ljava/lang/String;)Ljava/lang/String;
-
isEmpty
- Mappings:
Namespace Name Mixin selector official b
Lahi;b(Ljava/lang/String;)Z
intermediary method_15438
Lnet/minecraft/class_3544;method_15438(Ljava/lang/String;)Z
named isEmpty
Lnet/minecraft/util/ChatUtil;isEmpty(Ljava/lang/String;)Z
-
truncate
- Mappings:
Namespace Name Mixin selector official a
Lahi;a(Ljava/lang/String;IZ)Ljava/lang/String;
intermediary method_34963
Lnet/minecraft/class_3544;method_34963(Ljava/lang/String;IZ)Ljava/lang/String;
named truncate
Lnet/minecraft/util/ChatUtil;truncate(Ljava/lang/String;IZ)Ljava/lang/String;
-
countLines
- Mappings:
Namespace Name Mixin selector official c
Lahi;c(Ljava/lang/String;)I
intermediary method_34238
Lnet/minecraft/class_3544;method_34238(Ljava/lang/String;)I
named countLines
Lnet/minecraft/util/ChatUtil;countLines(Ljava/lang/String;)I
-
endsWithLineBreak
- Mappings:
Namespace Name Mixin selector official d
Lahi;d(Ljava/lang/String;)Z
intermediary method_36358
Lnet/minecraft/class_3544;method_36358(Ljava/lang/String;)Z
named endsWithLineBreak
Lnet/minecraft/util/ChatUtil;endsWithLineBreak(Ljava/lang/String;)Z
-