Expand description

Launching

Functions

Build the classpath.

Build the game arguments and replaces placeholders.

Build JVM arguments and replaces placeholders.

Builds the launch command for Minecraft.

Gets the Java executable from launch options.

Launches the game command, forks the process and returns a basic handle to the game process. The handle can be used to stop the game and wait for it to stop.

Plugs every arguments together and creates the command