- Launch any Minecraft version
- Provide the capability to interact with the JVM
JSML requires Node.js to run.
Download the template files and run npm run fresh to get started.
$ git clone <insert git url>
$ cd jsml
$ npm run freshJSML requires the following dependencies to be installed:
| Dependency | Install Script |
|---|---|
| Electron | npm i -D electron@latest |
| Electron Rebuild | npm i -D electron-rebuild |
| Java | npm i -S java |
| Path | npm i -S path |
| URL | npm i -S url |
After installing the required dependencies, run the following commands
| Command | Description |
|---|---|
./node_modules/.bin/electron-rebuild |
Rebuild the native modules for use with Electron |
node ./node_modules/java/postInstall.js |
Fix the errors caused by electron-rebuild |
If you've downloaded the template files and installed the required dependencies, navigate to the root of your project and run the following command:
$ npm start