Class TextRenderer

java.lang.Object
net.minecraft.client.font.TextRenderer

@Environment(CLIENT) public class TextRenderer extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_34
glue class_648
server net/minecraft/class_34
client sj
named net/minecraft/client/font/TextRenderer
  • Field Details

    • field_2462

      private int[] field_2462
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2462 Lnet/minecraft/class_34;field_2462:[I
      glue field_2660 Lclass_648;field_2660:[I
      server field_2462 Lnet/minecraft/class_34;field_2462:[I
      client b Lsj;b:[I
      named field_2462 Lnet/minecraft/client/font/TextRenderer;field_2462:[I
    • field_2461

      public int field_2461
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2461 Lnet/minecraft/class_34;field_2461:I
      glue field_2659 Lclass_648;field_2659:I
      server field_2461 Lnet/minecraft/class_34;field_2461:I
      client a Lsj;a:I
      named field_2461 Lnet/minecraft/client/font/TextRenderer;field_2461:I
    • field_2463

      private int field_2463
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2463 Lnet/minecraft/class_34;field_2463:I
      glue field_2661 Lclass_648;field_2661:I
      server field_2463 Lnet/minecraft/class_34;field_2463:I
      client c Lsj;c:I
      named field_2463 Lnet/minecraft/client/font/TextRenderer;field_2463:I
    • field_2464

      private IntBuffer field_2464
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2464 Lnet/minecraft/class_34;field_2464:Ljava/nio/IntBuffer;
      glue field_2662 Lclass_648;field_2662:Ljava/nio/IntBuffer;
      server field_2464 Lnet/minecraft/class_34;field_2464:Ljava/nio/IntBuffer;
      client d Lsj;d:Ljava/nio/IntBuffer;
      named field_2464 Lnet/minecraft/client/font/TextRenderer;field_2464:Ljava/nio/IntBuffer;
  • Constructor Details

  • Method Details

    • drawWithShadow

      public void drawWithShadow(String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1903 Lnet/minecraft/class_34;method_1903(Ljava/lang/String;III)V
      glue method_2146 Lclass_648;method_2146(Ljava/lang/String;III)V
      server method_1903 Lnet/minecraft/class_34;method_1903(Ljava/lang/String;III)V
      client a Lsj;a(Ljava/lang/String;III)V
      named drawWithShadow Lnet/minecraft/client/font/TextRenderer;drawWithShadow(Ljava/lang/String;III)V
    • draw

      public void draw(String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1906 Lnet/minecraft/class_34;method_1906(Ljava/lang/String;III)V
      glue method_2149 Lclass_648;method_2149(Ljava/lang/String;III)V
      server method_1906 Lnet/minecraft/class_34;method_1906(Ljava/lang/String;III)V
      client b Lsj;b(Ljava/lang/String;III)V
      named draw Lnet/minecraft/client/font/TextRenderer;draw(Ljava/lang/String;III)V
    • draw

      public void draw(String text, int x, int y, int color, boolean shadow)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1905 Lnet/minecraft/class_34;method_1905(Ljava/lang/String;IIIZ)V
      glue method_2148 Lclass_648;method_2148(Ljava/lang/String;IIIZ)V
      server method_1905 Lnet/minecraft/class_34;method_1905(Ljava/lang/String;IIIZ)V
      client a Lsj;a(Ljava/lang/String;IIIZ)V
      named draw Lnet/minecraft/client/font/TextRenderer;draw(Ljava/lang/String;IIIZ)V
    • getWidth

      public int getWidth(String text)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1901 Lnet/minecraft/class_34;method_1901(Ljava/lang/String;)I
      glue method_2144 Lclass_648;method_2144(Ljava/lang/String;)I
      server method_1901 Lnet/minecraft/class_34;method_1901(Ljava/lang/String;)I
      client a Lsj;a(Ljava/lang/String;)I
      named getWidth Lnet/minecraft/client/font/TextRenderer;getWidth(Ljava/lang/String;)I
    • method_1904

      public void method_1904(String string, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1904 Lnet/minecraft/class_34;method_1904(Ljava/lang/String;IIII)V
      glue method_2147 Lclass_648;method_2147(Ljava/lang/String;IIII)V
      server method_1904 Lnet/minecraft/class_34;method_1904(Ljava/lang/String;IIII)V
      client a Lsj;a(Ljava/lang/String;IIII)V
      named method_1904 Lnet/minecraft/client/font/TextRenderer;method_1904(Ljava/lang/String;IIII)V
    • method_1902

      public int method_1902(String string, int int2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1902 Lnet/minecraft/class_34;method_1902(Ljava/lang/String;I)I
      glue method_2145 Lclass_648;method_2145(Ljava/lang/String;I)I
      server method_1902 Lnet/minecraft/class_34;method_1902(Ljava/lang/String;I)I
      client a Lsj;a(Ljava/lang/String;I)I
      named method_1902 Lnet/minecraft/client/font/TextRenderer;method_1902(Ljava/lang/String;I)I