package
0.0.0-20241231152130-7d71a1d111c6
Repository: https://github.com/nadwey/packwiz.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetForgeRecommended gets the recommended version of Forge for the given Minecraft version.
GetHashImpl gets an implementation of hash.Hash for the given hash type string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HighestSliceIndex returns the highest index of the given values in the slice (-1 if no value is found in the slice).
LoadIndex attempts to load the index file from a path.
LoadMod attempts to load a mod file from a path.
LoadPack loads the modpack metadata to a Pack struct.
ReencodeURL re-encodes URLs for RFC3986 compliance; as CurseForge URLs aren't properly encoded.
No description provided by the author
# Constants
The four possible values of Side (the side that the mod is on) are "server", "client", "both", and "" (equivalent to "both").
No description provided by the author
No description provided by the author
The four possible values of Side (the side that the mod is on) are "server", "client", "both", and "" (equivalent to "both").
MetaExtension is the file extension of the mod metadata files Note that this is currently not required; it will only be used for new files.
No description provided by the author
No description provided by the author
No description provided by the author
The four possible values of Side (the side that the mod is on) are "server", "client", "both", and "" (equivalent to "both").
The four possible values of Side (the side that the mod is on) are "server", "client", "both", and "" (equivalent to "both").
No description provided by the author
# Variables
MetaDownloaders stores all the metadata-based installers that packwiz can use.
No description provided by the author
No description provided by the author
No description provided by the author
Updaters stores all the updaters that packwiz can use.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Index is a representation of the index.toml file for referencing all the files in a pack.
No description provided by the author
No description provided by the author
No description provided by the author
Mod stores metadata about a mod.
ModDownload specifies how to download the mod file.
No description provided by the author
ModOption specifies optional metadata for this mod file.
Pack stores the modpack metadata, usually in pack.toml.
UpdateCheck represents the data returned from CheckUpdate for each mod.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
MetaDownloader specifies a downloader for a Mod using a "metadata:source" mode The calling code should handle caching and hash validation.
MetaDownloaderData specifies the per-Mod metadata retrieved for downloading.
Updater is used to process updates on mods.
# Type aliases
IndexFiles are stored as a map of path -> (indexFile or alias -> indexFile) The latter is used for multiple copies with the same path but different alias.