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_674
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_2792 Lnet/minecraft/class_674;field_2792: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_2793 Lnet/minecraft/class_674;field_2793: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_2794 Lnet/minecraft/class_674;field_2794:Ljava/nio/IntBuffer;
      named intBuffer Lnet/minecraft/client/util/ScreenshotUtils;intBuffer:Ljava/nio/IntBuffer;
    • field_2795

      private static int[] field_2795
      Mappings:
      Namespace Name Mixin selector
      official d Lavj;d:[I
      intermediary field_2795 Lnet/minecraft/class_674;field_2795:[I
      named field_2795 Lnet/minecraft/client/util/ScreenshotUtils;field_2795:[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_2371 Lnet/minecraft/class_674;method_2371(Ljava/io/File;IILnet/minecraft/class_1040;)Lnet/minecraft/class_1444;
      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_2372 Lnet/minecraft/class_674;method_2372(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/class_1040;)Lnet/minecraft/class_1444;
      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_2370 Lnet/minecraft/class_674;method_2370(Ljava/io/File;)Ljava/io/File;
      named getScreenshotFile Lnet/minecraft/client/util/ScreenshotUtils;getScreenshotFile(Ljava/io/File;)Ljava/io/File;