This is a client-side mod that lets you copy screenshots to your clipboard, you just need to press F2 like you usually do in Minecraft. It works in macOS, Linux and Windows that use x64 or arm64. Also there is a config file for not saving the file to the screenshots folder if that's your preference!
This mod shouldn't be incompatible with any mod (including optifine) but do report it in the issues section ;)
Tested as working with Minecraft 1.19.1, 1.20.1.
- Cloth Config API
- Fabric API (if using Fabric)
Note: when downloading, be sure to pay attention to the target Minecraft release and mod platform (Fabric/Forge) where applicable.
First make sure to have the latest Java SDK installed for your system:
Once you have the build environment setup, all you need to is run the appropriate script, according to your platform, to get the build running (current build uses Gradle 7). See the sub-sections, for the most common platforms.
Note, generated assets will be in fabric/build/libs
and
forge/build/libs
, for Fabric and Forge, respectively.
chmod +x ./gradlew
./gradlew build
gradlew.bat build
If you are looking to install an already built release, then visit the project on Curseforge, otherwise if you are building from source, follow the steps below.
This assumes you have Minecraft Forge installed.
- Locate the
mods
folder for your Forge installation. - Copy the file from
forge/build/libs/screenshotcopy-1.2.2-forge.jar
(adjust version number as appropriate) to themods
folder of your Forge installation. - Launch your Forge version of Minecraft
This assumes you have Fabric installed.
- Locate the
mods
folder for your Fabric installation. - Copy the file from
fabric/build/libs/screenshotcopy-1.2.2-fabric.jar
(adjust version number as appropriate) to themods
folder of your Fabric installation. - Launch your Fabric version of Minecraft
For a video on installing Frabric, see https://www.youtube.com/watch?v=lP_Z0E6oGo8
This project uses the MIT license.