Skip to content

minecraft-rs/downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MC Downloader

Download minecraft client and libraries from rust.

Usage

Download the client and libraries:

let path = "./.minecraft".to_string();
let version = "1.19.4".to_string();

match ClientDownloader::new() {
    Ok(downloader) => {
        println!("Start Download Minecraft {version} version in {path}");
        downloader
            .download_version(
                &version,
                &PathBuf::from(path),
                None,
                None,
                None,
            )
            .unwrap();
    }
    Err(e) => println!("{e:?}"),
}

Contribution

Feel free to contribute to the development of the library.

About

Download minecraft client and libraries from rust.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages