A tool for building native Minecraft images utilizing GraalVM.
You can support me with Cash App. $thejudge156
Very in alpha, expect bugs and major changes!
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 1.20.2
.
- After the build is complete, navigate to the
native-build folder
. - Find the executable file for your version (e.g.,
1.20.2.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.2.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.