Crate cobble_core

source ·
Expand description

cobble-core

crates.io Documentation MSRV Dependency Status License

A Rust library for managing, installing and launching Minecraft instances.

Usage

See the crate examples for usage examples.

Included examples:

  • Authenntication
  • Instance
    • Installing
    • Installing with Fabric
    • Launching
    • Launching with Fabric
    • Getting
      • Loader Mods
      • Log Files
      • Resourcepacks
      • Save Games
      • Screenshots
      • Servers
      • Shaderpacks
  • Minecraft
    • Installing
    • Launching

Cargo Features

  • auth: Provides authentication support for online mode.
  • 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.

Re-exports

pub use instance::Instance;
pub use instance::InstanceBuilder;

Modules

Error types
Instance related functionality
Minecraft related functionality
Utitlities for authentication and online play
Utilities used in this crate