Module cobble_core::minecraft::launch
source · [−]Expand description
Launching
Re-exports
pub use launch_options::LaunchOptions;pub use launch_options::LaunchOptionsBuilder;pub use process_handle::GameProcessHandle;Modules
Launch Options
Handle for the started Minecraft process
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