Async Screenshot
Asynchronous processing screenshot encoding and saving off the render thread to prevent F2 frame hitches.
介绍
Async Screenshot
Taking a screenshot can freeze the game for a noticeable moment. This mod
moves the heavy work — PNG encoding and writing the file to disk — off the
render thread, so pressing F2 no longer causes a frame hitch.
Client-side only. Works on Fabric, Forge, and NeoForge. No config needed.
Why you might want this
When you press the screenshot key, vanilla Minecraft encodes the image to
PNG and writes it to disk right on the render thread. That freezes the frame
for tens of milliseconds. Taking screenshots in quick succession — burst
capture, recording, or just mashing F2 — makes it worse, especially at high
resolutions or with large resource packs.
How it works
The render thread grabs the pixels from the GPU (that part has to stay
there), then hands everything else off to a background thread: generating a
unique filename, encoding the PNG, and writing the file. A semaphore makes
sure concurrent screenshots don’t collide on the same filename. When the
write finishes, the “Saved screenshot” message is delivered back on the main
thread, just like vanilla.
If the mod can’t hook into your game version, it disables itself and
screenshots behave exactly like vanilla.
Install
- Install Fabric, Forge, or NeoForge for your Minecraft version.
- Put the jar file in your
modsfolder. - Launch the game. Nothing else to configure.
Classic Forge users: you also need MixinBooter
installed, since classic Forge doesn’t ship with a Mixin loader.
Requires Java 17 or later.
Compatibility
Tested on Minecraft 1.18 through 26.2 across Fabric, Forge, and NeoForge.
If the mod can’t hook into your specific version, it disables itself
quietly — the game runs as if the mod weren’t there.
Limitations
- The render thread still grabs the pixels from the GPU (that’s required by
OpenGL), so a tiny hitch can remain at very high resolutions. - The “Saved screenshot” message appears after the background encoding
finishes, so it may be slightly delayed. - If a screenshot is still being saved when a new one is taken, the new one
is dropped to prevent file collisions.
常见问题
Async Screenshot 支持哪些 Minecraft 版本?
Async Screenshot 支持 Minecraft Java 版 1.18–26.2,共 31 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Async Screenshot 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Author87668 的其他作品
查看全部 →LIGHT Shaders
轻如无物,美如画卷。 让你兼得高 FPS 与出色的画质。
Author87668’s LIGHT Shaders
轻如鸿毛,美如画卷。让你兼得高帧率与出色画质。
MinerTrack Anti XRay
强大的反透视功能,可自动抓出透视作弊者,并按你的配置进行处罚。
LIGHT Ray Shaders
轻量,却不止于轻量;让你畅享进阶渲染,告别卡顿。
评论
登录后评论和评分