cobble-core
A Rust library for managing, installing and launching Minecraft instances.
Usage
Authentication
use Profile;
use ;
let client_id = "<MS Graph Client ID>".to_string;
let client_secret = "<MS Graph Client Secret>".to_string;
let cancel = new;
let = authenticate?;
println!;
let profile: Profile = result.recv??;
println!;
Installing
use ;
use AtomicBool;
use Arc;
let instance: Instance = default
.name
.version
.instance_path
.libraries_path
.assets_path
.build?;
let = update_channel;
let cancel = new;
instance.full_install?;
Launching
use ;
use LaunchOptionsBuilder;
let instance: Instance = default
.name
.version
.instance_path
.libraries_path
.assets_path
.build?;
instance.launch.unwrap;
Cargo Features
Feature | Description |
---|---|
gobject |
Provides glib objects for the primary structs |
Future Development
- Minecraft
- Installation
- Current Versions
- Old Versions (needs testing)
- Launching
- Current Versions
- Old Versions (needs testing)
- Saves
- Servers
- Resourcepacks
- Logs
- Installation
- Support other platforms than linux (process forking)
- Instances
- Installation
- Launching
- Installed status
- Removing
- Export / Import
- Fabric
- Installation
- Updating
- Mods
- Mod Manager