Module cobble_core::minecraft

source ·
Expand description

Minecraft related functionality

Modules

Models for interacting with Minecraft servers

Structs

Information about the intermediary.
Information about the loader.
An entry in the fabric loader manifest representing a single version.
Extension to the minecraft VersionData.
Handle to the game process.
Options for installing Minecraft.
Options for launching Minecraft. The options can be created using the builder pattern:
LoaderModloader-mods
Represents a single loader mod.
LogFilelog-files
Represents a single log file. On each launch the game creates a new log file and compresses the old one.
Resourcepackresourcepacks
Represents a single resourcepack.
SaveGamesave-games
Represents a single save game.
Screenshotscreenshots
Represents a single screenshot.
Serverservers
Represents a single server.
Shaderpackshaderpacks
Represents a single shaderpack.

Enums

Whether to install a server resource pack
Update of asset installation
Update of client installation
Difficultysave-games
Difficulty of a save game
Game type of a save game
Error type for InstallOptionsBuilder
Installation Update that is sent during installation.
Update of library installation
Update of log config installation
LogFileTypelog-files
Whether the file is compressed or in plain text.
ResourcepackTyperesourcepacks
Whether the file is a resourcepack or texturepack.

Traits

Trait for game handles to provide the same API on all platforms.

Functions

Builds the launch command for Minecraft. The game needs to be installed to launch.
Builds the launch command for Minecraft. The game needs to be installed to launch.
Installs assets as defined in the asset index.
Installs the client file.
Installs all fabric libraries as defined in the provided version data.
Installs all libraries as defined in the provided version data. Also extracts native versions of said libraries.
Installs the log config file.
load_loader_modsloader-mods
Loads all loader mods from the minecraft folder.
Loads all log files from the minecraft folder.
load_resourcepacksresourcepacks
Loads all resourcepacks from the minecraft folder.
load_save_gamessave-games
Loads all save games from the minecraft folder.
load_screenshotsscreenshots
Loads all screenshots from the minecraft folder.
Loads all servers from the minecraft folder.
load_shaderpacksshaderpacks
Loads all shaderpacks from the minecraft folder.