Documentation
¶
Index ¶
- func DownloadLibraries(versionInfo core.VersionInfo, librariesDir string, maxConnections int) error
- func DownloadServerJar(version, loader, librariesDir string) error
- func FabricB(config core.InstConfig, simpfun bool)
- func ForgeB(config core.InstConfig, simpfun bool)
- func Modrinth(file string)
- func NeoForgeB(config core.InstConfig, simpfun bool)
- func SPCInstall(file string)
- type ModrinthIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadLibraries ¶
func DownloadLibraries(versionInfo core.VersionInfo, librariesDir string, maxConnections int) error
func DownloadServerJar ¶
func FabricB ¶
func FabricB(config core.InstConfig, simpfun bool)
func ForgeB ¶
func ForgeB(config core.InstConfig, simpfun bool)
func NeoForgeB ¶
func NeoForgeB(config core.InstConfig, simpfun bool)
func SPCInstall ¶
func SPCInstall(file string)
Types ¶
type ModrinthIndex ¶
type ModrinthIndex struct {
Files []struct {
Path string `json:"path"`
Env map[string]string `json:"env"`
Downloads []string `json:"downloads"`
} `json:"files"`
Dependencies struct {
Minecraft string `json:"minecraft"`
NeoForge string `json:"neoforge"`
Forge string `json:"forge"`
Fabric string `json:"fabric"`
} `json:"dependencies"`
}
Click to show internal directories.
Click to hide internal directories.