#downloader #downloader-mc #download-version

downloader_mc

A library for downloading Minecraft assets and libraries

4 releases

new 0.1.3 May 20, 2025
0.1.2 May 20, 2025
0.1.1 May 20, 2025
0.1.0 May 18, 2025

#33 in #downloader

Download history 59/week @ 2025-05-13

59 downloads per month

MIT license

30KB
771 lines

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.

Dependencies

~7–19MB
~258K SLoC