Crates.io | cobble-core |
lib.rs | cobble-core |
version | 1.2.0 |
source | src |
created_at | 2022-06-02 16:35:25.410104 |
updated_at | 2022-12-04 10:52:04.358831 |
description | Library for managing, installing and launching Minecraft instances and more. |
homepage | https://gitlab.com/stefan99353/cobble-core |
repository | https://gitlab.com/stefan99353/cobble-core |
max_upload_size | |
id | 598941 |
size | 291,250 |
A Rust library for managing, installing and launching Minecraft instances and more.
This crate provides the following features (some are locked behind features):
Add this to your Cargo.toml
:
[dependencies]
cobble-core = "1.2"
To get started, see various examples of this crate here.
This crate is based on the tokio async crate. Some functionality requires a tokio runtime.
This crate can't be tested using every Minecraft version there is (I sadly do not have time for that). This means I try to test this crate with some different versions. Most tests are for the newer releases of Minecraft.
The following versions have been tested:
If you have success using different Minecraft versions, you can open a Pull Request to add it.
auth
: Provides authentication support for online mode.backup
: Provides functionality creating and loading backups. Currently implemented for save-games
.serde
: Provides Deserialize
and Serialize
implementation for many structs.vanilla
(default): Includes features log-files
, resourcepacks
, save-games
, screenshots
and servers
.log-files
(default): Provides functionality for reading and extracting log files.resourcepacks
(default): Provides functionality for interacting with resourcepacks.save-games
(default): Provides functionality for interacting with save games.screenshots
(default): Provides functionality for interacting with screenshots.servers
(default): Provides functionality for interacting with servers.modded
: Includes features fabric
, loader-mods
and shaderpacks
.fabric
: Provides functionality for installing and launching with the fabric loader.loader-mods
: Provides functionality for interacting with mods.shaderpacks
: Provides functionality for interacting with shaderpacks.cobble-core
is distributed under the terms of the MIT license.
See LICENSE for details.