Package net.minecraft.client.util
Class ScreenshotUtils
java.lang.Object
net.minecraft.client.util.ScreenshotUtils
- Mappings:
Namespace Name official bifintermediary net/minecraft/class_352named net/minecraft/client/util/ScreenshotUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DateFormatprivate static int[]private static IntBufferprivate static final Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static FilegetScreenshotFile(File screenshotsDirectory) static BufferedImagemethod_12153(int int2, int int3, Framebuffer framebuffer) static Textmethod_12154(File file, String string, int int2, int int3, Framebuffer framebuffer) static TextsaveScreenshot(File parent, int textureWidth, int textureHeight, Framebuffer buffer)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbif;a:Lorg/apache/logging/log4j/Logger;intermediary field_7697Lnet/minecraft/class_352;field_7697:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/util/ScreenshotUtils;LOGGER:Lorg/apache/logging/log4j/Logger;
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector official bLbif;b:Ljava/text/DateFormat;intermediary field_1033Lnet/minecraft/class_352;field_1033:Ljava/text/DateFormat;named DATE_FORMATLnet/minecraft/client/util/ScreenshotUtils;DATE_FORMAT:Ljava/text/DateFormat;
-
intBuffer
- Mappings:
Namespace Name Mixin selector official cLbif;c:Ljava/nio/IntBuffer;intermediary field_1034Lnet/minecraft/class_352;field_1034:Ljava/nio/IntBuffer;named intBufferLnet/minecraft/client/util/ScreenshotUtils;intBuffer:Ljava/nio/IntBuffer;
-
field_1035
private static int[] field_1035- Mappings:
Namespace Name Mixin selector official dLbif;d:[Iintermediary field_1035Lnet/minecraft/class_352;field_1035:[Inamed field_1035Lnet/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 aLbif;a(Ljava/io/File;IILbvd;)Lhh;intermediary method_6665Lnet/minecraft/class_352;method_6665(Ljava/io/File;IILnet/minecraft/class_1862;)Lnet/minecraft/class_1982;named saveScreenshotLnet/minecraft/client/util/ScreenshotUtils;saveScreenshot(Ljava/io/File;IILnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/text/Text;
-
method_12154
public static Text method_12154(File file, @Nullable String string, int int2, int int3, Framebuffer framebuffer) - Mappings:
Namespace Name Mixin selector official aLbif;a(Ljava/io/File;Ljava/lang/String;IILbvd;)Lhh;intermediary method_12154Lnet/minecraft/class_352;method_12154(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/class_1862;)Lnet/minecraft/class_1982;named method_12154Lnet/minecraft/client/util/ScreenshotUtils;method_12154(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/text/Text;
-
method_12153
- Mappings:
Namespace Name Mixin selector official aLbif;a(IILbvd;)Ljava/awt/image/BufferedImage;intermediary method_12153Lnet/minecraft/class_352;method_12153(IILnet/minecraft/class_1862;)Ljava/awt/image/BufferedImage;named method_12153Lnet/minecraft/client/util/ScreenshotUtils;method_12153(IILnet/minecraft/client/gl/Framebuffer;)Ljava/awt/image/BufferedImage;
-
getScreenshotFile
- Mappings:
Namespace Name Mixin selector official aLbif;a(Ljava/io/File;)Ljava/io/File;intermediary method_885Lnet/minecraft/class_352;method_885(Ljava/io/File;)Ljava/io/File;named getScreenshotFileLnet/minecraft/client/util/ScreenshotUtils;getScreenshotFile(Ljava/io/File;)Ljava/io/File;
-