Class ScreenshotUtils

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

@Environment(CLIENT) public class ScreenshotUtils extends Object
Mappings:
Namespace Name
official cfy
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 Lcfy;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 Lcfy;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;
  • Constructor Details

    • ScreenshotUtils

      public ScreenshotUtils()
  • Method Details

    • method_18271

      public static void method_18271(File file, int int2, int int3, Framebuffer framebuffer, Consumer<Text> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfy;a(Ljava/io/File;IILcul;Ljava/util/function/Consumer;)V
      intermediary method_18271 Lnet/minecraft/class_352;method_18271(Ljava/io/File;IILnet/minecraft/class_1862;Ljava/util/function/Consumer;)V
      named method_18271 Lnet/minecraft/client/util/ScreenshotUtils;method_18271(Ljava/io/File;IILnet/minecraft/client/gl/Framebuffer;Ljava/util/function/Consumer;)V
    • method_18273

      public static void method_18273(File file, @Nullable String string, int int2, int int3, Framebuffer framebuffer, Consumer<Text> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfy;a(Ljava/io/File;Ljava/lang/String;IILcul;Ljava/util/function/Consumer;)V
      intermediary method_18273 Lnet/minecraft/class_352;method_18273(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/class_1862;Ljava/util/function/Consumer;)V
      named method_18273 Lnet/minecraft/client/util/ScreenshotUtils;method_18273(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/client/gl/Framebuffer;Ljava/util/function/Consumer;)V
    • method_18269

      public static class_4277 method_18269(int int2, int int3, Framebuffer framebuffer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfy;a(IILcul;)Lddg;
      intermediary method_18269 Lnet/minecraft/class_352;method_18269(IILnet/minecraft/class_1862;)Lnet/minecraft/class_4277;
      named method_18269 Lnet/minecraft/client/util/ScreenshotUtils;method_18269(IILnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/class_4277;
    • getScreenshotFile

      private static File getScreenshotFile(File screenshotsDirectory)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfy;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;