Class ChatMessages

java.lang.Object
net.minecraft.client.util.ChatMessages

@Environment(CLIENT) public class ChatMessages extends Object
Mappings:
Namespace Name
official dyr
intermediary net/minecraft/class_341
named net/minecraft/client/util/ChatMessages
  • Field Details

    • SPACES

      private static final OrderedText SPACES
      Mappings:
      Namespace Name Mixin selector
      official a Ldyr;a:Laif;
      intermediary field_25263 Lnet/minecraft/class_341;field_25263:Lnet/minecraft/class_5481;
      named SPACES Lnet/minecraft/client/util/ChatMessages;SPACES:Lnet/minecraft/text/OrderedText;
  • Constructor Details

    • ChatMessages

      public ChatMessages()
  • Method Details

    • getRenderedChatMessage

      private static String getRenderedChatMessage(String message)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyr;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_1849 Lnet/minecraft/class_341;method_1849(Ljava/lang/String;)Ljava/lang/String;
      named getRenderedChatMessage Lnet/minecraft/client/util/ChatMessages;getRenderedChatMessage(Ljava/lang/String;)Ljava/lang/String;
    • breakRenderedChatMessageLines

      public static List<OrderedText> breakRenderedChatMessageLines(StringVisitable message, int width, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyr;a(Lpw;ILdxy;)Ljava/util/List;
      intermediary method_1850 Lnet/minecraft/class_341;method_1850(Lnet/minecraft/class_5348;ILnet/minecraft/class_327;)Ljava/util/List;
      named breakRenderedChatMessageLines Lnet/minecraft/client/util/ChatMessages;breakRenderedChatMessageLines(Lnet/minecraft/text/StringVisitable;ILnet/minecraft/client/font/TextRenderer;)Ljava/util/List;