Class ChatUtil

java.lang.Object
net.minecraft.util.ChatUtil

public class ChatUtil
extends Object
Mappings:
Namespace Name
official agj
intermediary net/minecraft/class_3544
named net/minecraft/util/ChatUtil
  • Field Details

    • PATTERN

      private static final Pattern PATTERN
      Mappings:
      Namespace Name Mixin selector
      official a Lagj;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;
  • Constructor Details

    • ChatUtil

      public ChatUtil()
  • Method Details

    • ticksToString

      @Environment(CLIENT) public static String ticksToString​(int ticks)
      Mappings:
      Namespace Name Mixin selector
      official a Lagj;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

      @Environment(CLIENT) public static String stripTextFormat​(String text)
      Mappings:
      Namespace Name Mixin selector
      official a Lagj;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

      public static boolean isEmpty​(@Nullable String string)
      Mappings:
      Namespace Name Mixin selector
      official b Lagj;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