https://github.com/kb-1000/mc-image
Minecraft as a native executable using GraalVM native-image
https://github.com/kb-1000/mc-image
graalvm graalvm-native-image minecraft native-image
Last synced: over 1 year ago
JSON representation
Minecraft as a native executable using GraalVM native-image
- Host: GitHub
- URL: https://github.com/kb-1000/mc-image
- Owner: kb-1000
- License: mpl-2.0
- Created: 2022-09-11T02:17:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T22:06:22.000Z (over 3 years ago)
- Last Synced: 2025-03-16T22:36:37.622Z (over 1 year ago)
- Topics: graalvm, graalvm-native-image, minecraft, native-image
- Language: C
- Homepage:
- Size: 491 KB
- Stars: 29
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mc-image
Compile Minecraft to a native executable using [GraalVM native-image](https://www.graalvm.org/native-image/)!
## Build instructions
1. Build the Gradle project using `./gradlew assemble`
2. Run `./build.sh`
After a few minutes, a `minecraft-client` executable will have been produced.
You can run it using `run.sh`, which passes a few arguments Minecraft requires.
If you pass `--server` to `build.sh`, you will instead get a `minecraft-server` binary containing the server, and which you run directly instead of using `run.sh`.
### Binary distribution
Since executables as generated by build.sh are essentially full distributions of the Minecraft codebase, the Minecraft EULA does not permit distributing them without explicit permission by Mojang.