An open API service indexing awesome lists of open source software.

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

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.