Documentation
¶
Index ¶
- Variables
- func Common(config core.InstConfig, cleaninst bool)
- func CompareForgeVersions(a, b string) int
- func CurseForge(file string, MaxCon int, Args string, bundleName string)
- func DownloadLibraries(versionInfo core.VersionInfo, librariesDir string, maxConnections int, ...) error
- func DownloadServerJar(version, loader, librariesDir string) error
- func FabricB(config core.InstConfig, simpfun bool, mise bool)
- func FetchLatestFabricMinecraftVersion() (string, error)
- func FetchLatestForgeLoaderForVersion(mcVersion string) (string, error)
- func FetchLatestForgeVersion() (string, string, error)
- func FetchLatestMatchingNeoForgeVersion(mcVersion string) (string, error)
- func FetchLatestNeoForgeVersion() (string, error)
- func FetchLatestStableFabricLoaderVersion() (string, error)
- func FetchLatestVanillaVersion(downloadSource string) (string, error)
- func ForgeB(config core.InstConfig, simpfun bool, mise bool)
- func Modrinth(file string, MaxCon int, Args string, bundleName string)
- func NeoForgeB(config core.InstConfig, simpfun bool, mise bool)
- func SPCInstall(file string, MaxCon int, Args string, bundleName string)
- func Search(MaxConnections int, Argsment string)
- func WaitDownloads()
- type CFError
- type CurseForgeManifest
- type ModrinthDependencies
- type ModrinthIndex
Constants ¶
This section is empty.
Variables ¶
View Source
var DownloadWg sync.WaitGroup
Functions ¶
func Common ¶ added in v1.4.0
func Common(config core.InstConfig, cleaninst bool)
func CompareForgeVersions ¶ added in v1.4.0
func CurseForge ¶ added in v1.4.0
func DownloadLibraries ¶
func DownloadServerJar ¶
func FetchLatestFabricMinecraftVersion ¶ added in v1.4.0
func FetchLatestForgeLoaderForVersion ¶ added in v1.4.0
func FetchLatestForgeVersion ¶ added in v1.4.0
func FetchLatestMatchingNeoForgeVersion ¶ added in v1.4.0
func FetchLatestNeoForgeVersion ¶ added in v1.4.0
func FetchLatestStableFabricLoaderVersion ¶ added in v1.4.0
func FetchLatestVanillaVersion ¶ added in v1.4.0
func WaitDownloads ¶ added in v1.4.0
func WaitDownloads()
Types ¶
type CurseForgeManifest ¶ added in v1.4.0
type CurseForgeManifest struct {
Minecraft struct {
Version string `json:"version"`
ModLoaders []struct {
ID string `json:"id"`
Primary bool `json:"primary"`
} `json:"modLoaders"`
} `json:"minecraft"`
Overrides string `json:"overrides"`
Files []struct {
ProjectID int `json:"projectID"`
FileID int `json:"fileID"`
Required bool `json:"required"`
} `json:"files"`
}
type ModrinthDependencies ¶ added in v1.4.0
type ModrinthDependencies struct {
Minecraft string
NeoForge string
Forge string
Fabric string
FabricLoader string
}
func (*ModrinthDependencies) UnmarshalJSON ¶ added in v1.4.0
func (d *ModrinthDependencies) UnmarshalJSON(data []byte) error
type ModrinthIndex ¶
type ModrinthIndex struct {
Files []struct {
Path string `json:"path"`
Env map[string]string `json:"env"`
Downloads []string `json:"downloads"`
} `json:"files"`
Dependencies ModrinthDependencies `json:"dependencies"`
}
Click to show internal directories.
Click to hide internal directories.