Class ScreenshotUtils

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lavj;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_7697 Lnet/minecraft/class_352;field_7697:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/util/ScreenshotUtils;LOGGER:Lorg/apache/logging/log4j/Logger;
    • DATE_FORMAT

      private static final DateFormat DATE_FORMAT
      Mappings:
      Namespace Name Mixin selector
      official b Lavj;b:Ljava/text/DateFormat;
      intermediary field_1033 Lnet/minecraft/class_352;field_1033:Ljava/text/DateFormat;
      named DATE_FORMAT Lnet/minecraft/client/util/ScreenshotUtils;DATE_FORMAT:Ljava/text/DateFormat;
    • intBuffer

      private static IntBuffer intBuffer
      Mappings:
      Namespace Name Mixin selector
      official c Lavj;c:Ljava/nio/IntBuffer;
      intermediary field_1034 Lnet/minecraft/class_352;field_1034:Ljava/nio/IntBuffer;
      named intBuffer Lnet/minecraft/client/util/ScreenshotUtils;intBuffer:Ljava/nio/IntBuffer;
    • field_1035

      private static int[] field_1035
      Mappings:
      Namespace Name Mixin selector
      official d Lavj;d:[I
      intermediary field_1035 Lnet/minecraft/class_352;field_1035:[I
      named field_1035 Lnet/minecraft/client/util/ScreenshotUtils;field_1035:[I
  • Constructor Details

    • ScreenshotUtils

      public ScreenshotUtils()
  • Method Details

    • saveScreenshot

      public static Text saveScreenshot(File parent, int textureWidth, int textureHeight, Framebuffer buffer)
      Mappings:
      Namespace Name Mixin selector
      official a Lavj;a(Ljava/io/File;IILbfw;)Leu;
      intermediary method_6665 Lnet/minecraft/class_352;method_6665(Ljava/io/File;IILnet/minecraft/class_1862;)Lnet/minecraft/class_1982;
      named saveScreenshot Lnet/minecraft/client/util/ScreenshotUtils;saveScreenshot(Ljava/io/File;IILnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/text/Text;
    • saveScreenshot

      public static Text saveScreenshot(File parent, String name, int textureWidth, int textureHeight, Framebuffer buffer)
      Mappings:
      Namespace Name Mixin selector
      official a Lavj;a(Ljava/io/File;Ljava/lang/String;IILbfw;)Leu;
      intermediary method_6666 Lnet/minecraft/class_352;method_6666(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/class_1862;)Lnet/minecraft/class_1982;
      named saveScreenshot Lnet/minecraft/client/util/ScreenshotUtils;saveScreenshot(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/text/Text;
    • getScreenshotFile

      private static File getScreenshotFile(File screenshotsDirectory)
      Mappings:
      Namespace Name Mixin selector
      official a Lavj;a(Ljava/io/File;)Ljava/io/File;
      intermediary method_885 Lnet/minecraft/class_352;method_885(Ljava/io/File;)Ljava/io/File;
      named getScreenshotFile Lnet/minecraft/client/util/ScreenshotUtils;getScreenshotFile(Ljava/io/File;)Ljava/io/File;