Class Screenshot

java.lang.Object
net.minecraft.client.Screenshot

@Environment(CLIENT) public class Screenshot extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_260
glue class_281
server net/minecraft/class_260
client hj
named net/minecraft/client/Screenshot
  • Field Details

    • DATE_FORMAT

      private static DateFormat DATE_FORMAT
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1005 Lnet/minecraft/class_260;field_1005:Ljava/text/DateFormat;
      glue field_1206 Lclass_281;field_1206:Ljava/text/DateFormat;
      server field_1005 Lnet/minecraft/class_260;field_1005:Ljava/text/DateFormat;
      client a Lhj;a:Ljava/text/DateFormat;
      named DATE_FORMAT Lnet/minecraft/client/Screenshot;DATE_FORMAT:Ljava/text/DateFormat;
    • pixels

      private static ByteBuffer pixels
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1006 Lnet/minecraft/class_260;field_1006:Ljava/nio/ByteBuffer;
      glue field_1207 Lclass_281;field_1207:Ljava/nio/ByteBuffer;
      server field_1006 Lnet/minecraft/class_260;field_1006:Ljava/nio/ByteBuffer;
      client b Lhj;b:Ljava/nio/ByteBuffer;
      named pixels Lnet/minecraft/client/Screenshot;pixels:Ljava/nio/ByteBuffer;
    • colorBuffer

      private static byte[] colorBuffer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1007 Lnet/minecraft/class_260;field_1007:[B
      glue field_1208 Lclass_281;field_1208:[B
      server field_1007 Lnet/minecraft/class_260;field_1007:[B
      client c Lhj;c:[B
      named colorBuffer Lnet/minecraft/client/Screenshot;colorBuffer:[B
    • pixelBuffer

      private static int[] pixelBuffer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1008 Lnet/minecraft/class_260;field_1008:[I
      glue field_1209 Lclass_281;field_1209:[I
      server field_1008 Lnet/minecraft/class_260;field_1008:[I
      client d Lhj;d:[I
      named pixelBuffer Lnet/minecraft/client/Screenshot;pixelBuffer:[I
  • Constructor Details

    • Screenshot

      public Screenshot()
  • Method Details

    • take

      public static String take(File gameDir, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_908 Lnet/minecraft/class_260;method_908(Ljava/io/File;II)Ljava/lang/String;
      glue method_1296 Lclass_281;method_1296(Ljava/io/File;II)Ljava/lang/String;
      server method_908 Lnet/minecraft/class_260;method_908(Ljava/io/File;II)Ljava/lang/String;
      client a Lhj;a(Ljava/io/File;II)Ljava/lang/String;
      named take Lnet/minecraft/client/Screenshot;take(Ljava/io/File;II)Ljava/lang/String;