net.minecraft.client

public class Screenshot

ems
net.minecraft.client.Screenshot
net.minecraft.class_318
net.minecraft.client.util.ScreenshotRecorder
net.minecraft.src.C_3408_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_1974
LOGGER
f_92276_
public static final String
a
SCREENSHOT_DIR
field_41337
SCREENSHOTS_DIRECTORY
f_260508_
private int
c
rowHeight
field_32157
unitHeight
f_168594_
private final DataOutputStream
d
outputStream
field_32158
stream
f_168595_
private final byte[]
e
bytes
field_32159
buffer
f_168596_
private final int
f
width
field_32160
width
f_168597_
private final int
g
height
field_32161
height
f_168598_
private File
h
file
field_32162
file
f_168599_

Constructor summary

ModifierConstructor
public (File gameDirectory, int width, int height, int unitHeight)

Method summary

Modifier and TypeMethod
public static void
a(File arg0, efr arg1, Consumer<tj> arg2)
grab(File arg0, RenderTarget arg1, Consumer<Component> arg2)
method_1659(File arg0, class_276 arg1, Consumer<class_2561> arg2)
saveScreenshot(File gameDirectory, Framebuffer framebuffer, Consumer<Text> messageReceiver)
m_92289_(File p_92290_, C_3106_ p_92293_, Consumer<C_4996_> p_92294_)
public static void
a(File arg0, String arg1, efr arg2, Consumer<tj> arg3)
grab(File arg0, String arg1, RenderTarget arg2, Consumer<Component> arg3)
method_22690(File arg0, String arg1, class_276 arg2, Consumer<class_2561> arg3)
saveScreenshot(File gameDirectory, String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver)
m_92295_(File p_92296_, String p_92297_, C_3106_ p_92300_, Consumer<C_4996_> p_92301_)
private static void
b(File arg0, String arg1, efr arg2, Consumer<tj> arg3)
_grab(File arg0, String arg1, RenderTarget arg2, Consumer<Component> arg3)
method_1662(File arg0, String arg1, class_276 arg2, Consumer<class_2561> arg3)
saveScreenshotInner(File gameDirectory, String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver)
m_92305_(File p_92306_, String p_92307_, C_3106_ p_92310_, Consumer<C_4996_> p_92311_)
public static NativeImage
a(efr arg0)
takeScreenshot(RenderTarget arg0)
method_1663(class_276 arg0)
takeScreenshot(Framebuffer framebuffer)
m_92279_(C_3106_ p_92282_)
private static File
a(File arg0)
getFile(File arg0)
method_1660(File arg0)
getScreenshotFilename(File directory)
m_92287_(File p_92288_)
public void
a(ByteBuffer arg0, int arg1, int arg2, int arg3, int arg4)
addRegion(ByteBuffer arg0, int arg1, int arg2, int arg3, int arg4)
method_35711(ByteBuffer arg0, int arg1, int arg2, int arg3, int arg4)
getIntoBuffer(ByteBuffer data, int startWidth, int startHeight, int unitWidth, int unitHeight)
m_168609_(ByteBuffer p_168611_, int p_168612_, int p_168613_, int p_168614_, int arg4)
public void
a()
saveRow()
method_35710()
writeToStream()
m_168605_()
public File
b()
close()
method_35712()
finish()
m_168615_()