Class Texts

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

@Environment(CLIENT) public class Texts extends Object
Mappings:
Namespace Name
official bcz
intermediary net/minecraft/class_2293
named net/minecraft/client/util/Texts
  • Constructor Details

    • Texts

      public Texts()
  • Method Details

    • getRenderChatMessage

      public static String getRenderChatMessage(String string, boolean forceColor)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a(Ljava/lang/String;Z)Ljava/lang/String;
      intermediary method_9445 Lnet/minecraft/class_2293;method_9445(Ljava/lang/String;Z)Ljava/lang/String;
      named getRenderChatMessage Lnet/minecraft/client/util/Texts;getRenderChatMessage(Ljava/lang/String;Z)Ljava/lang/String;
    • wrapLines

      public static List<Text> wrapLines(Text text, int width, TextRenderer textRenderer, boolean bool, boolean forceColor)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a(Lew;ILbcr;ZZ)Ljava/util/List;
      intermediary method_9444 Lnet/minecraft/class_2293;method_9444(Lnet/minecraft/class_1982;ILnet/minecraft/class_370;ZZ)Ljava/util/List;
      named wrapLines Lnet/minecraft/client/util/Texts;wrapLines(Lnet/minecraft/text/Text;ILnet/minecraft/client/font/TextRenderer;ZZ)Ljava/util/List;