Package net.minecraft.client.util
Class ScreenshotUtils
java.lang.Object
net.minecraft.client.util.ScreenshotUtils
- Mappings:
Namespace Name official bttintermediary 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 TextsaveScreenshot(File parent, int textureWidth, int textureHeight, Framebuffer buffer) static TextsaveScreenshot(File parent, String name, int textureWidth, int textureHeight, Framebuffer buffer)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbtt;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 bLbtt;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 cLbtt;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 dLbtt;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 aLbtt;a(Ljava/io/File;IILckw;)Lho;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;
-
saveScreenshot
public static Text saveScreenshot(File parent, String name, int textureWidth, int textureHeight, Framebuffer buffer) - Mappings:
Namespace Name Mixin selector official aLbtt;a(Ljava/io/File;Ljava/lang/String;IILckw;)Lho;intermediary method_6666Lnet/minecraft/class_352;method_6666(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/class_1862;)Lnet/minecraft/class_1982;named saveScreenshotLnet/minecraft/client/util/ScreenshotUtils;saveScreenshot(Ljava/io/File;Ljava/lang/String;IILnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/text/Text;
-
getScreenshotFile
- Mappings:
Namespace Name Mixin selector official aLbtt;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;
-