A tool for building native Minecraft images utilizing GraalVM. This project is still in alpha, expect bugs and major changes!
I can only work on these projects if I can be stable financially. If you want to support me, you can here:
Building native images of Minecraft is usally an annoying, time consuming, and complex process that requires not only a lot of knowledge of the JVM, but also Minecraft itself. This tool is meant to allow for quick and easy building of native Minecraft images without much work on the end users side.
- Go to the releases page
- Download the latest release (the MCNativeBuilder.jar file).
- Place the jar file inside of a folder named
MCNativeBuilder
- Open Command Prompt or Terminal.
- Type the command:
java -jar path-to-downloaded-jar --version <version> --graalvm <path-to-graal>
. - Example:
java -jar C:/Downloads/MCNativeBuilder/MCNativeBuilder.jar --version 1.20.4 --graalvm C:/Downloads/GraalVM
. - Follow the instructions in the console/terminal to compile the native image.
- After the build is complete, navigate to the
native-build folder
. - Find the executable file for your version (e.g.,
1.20.4.exe
).
- Open Command Prompt or Terminal at the location of the executable.
- Type the command:
your-version.exe --accessToken yourAccessToken --assetIndex 8 --username yourUsername --uuid yourUUID --version MCNative
. - Example:
1.20.4.exe --accessToken abc123 --assetIndex 8 --username TheJudge156 --uuid 12345 --version MCNative.
- When entering commands, ensure to replace placeholder text (e.g.,
<username>
) with your specific information. - For instance, replace
<username>
with your actual username likeTheJudge156
.
- Check if the file paths and version numbers are correctly entered.
- Ensure all placeholders are filled with your specific details.