Module cobble_core::minecraft
source · Expand description
Minecraft related functionality
Modules
Models for interacting with Minecraft servers
Structs
FabricIntermediaryInfo
fabric
Information about the intermediary.
FabricLoaderInfo
fabric
Information about the loader.
FabricLoaderSummary
fabric
An entry in the fabric loader manifest representing a single version.
FabricVersionData
fabric
Extension to the minecraft VersionData.
Handle to the game process.
Options for installing Minecraft.
Builder for
InstallOptions
.Options for launching Minecraft.
The options can be created using the builder pattern:
Builder for
LaunchOptions
.LoaderMod
loader-mods
Represents a single loader mod.
LogFile
log-files
Represents a single log file.
On each launch the game creates a new log file and compresses the old one.
Resourcepack
resourcepacks
Represents a single resourcepack.
SaveGame
save-games
Represents a single save game.
Screenshot
screenshots
Represents a single screenshot.
Server
servers
Represents a single server.
Shaderpack
shaderpacks
Represents a single shaderpack.
Enums
AcceptTextures
servers
Whether to install a server resource pack
Update of asset installation
Update of client installation
Difficulty
save-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
LogFileType
log-files
Whether the file is compressed or in plain text.
ResourcepackType
resourcepacks
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.
install_fabric_libraries
fabric
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_mods
loader-mods
Loads all loader mods from the minecraft folder.
load_log_files
log-files
Loads all log files from the minecraft folder.
load_resourcepacks
resourcepacks
Loads all resourcepacks from the minecraft folder.
load_save_games
save-games
Loads all save games from the minecraft folder.
load_screenshots
screenshots
Loads all screenshots from the minecraft folder.
load_servers
servers
Loads all servers from the minecraft folder.
load_shaderpacks
shaderpacks
Loads all shaderpacks from the minecraft folder.