pkg

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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 DownloadServerJar(version, loader, librariesDir string) error

func FabricB

func FabricB(config core.InstConfig, simpfun bool)

func ForgeB

func ForgeB(config core.InstConfig, simpfun bool)

func Modrinth

func Modrinth(file string)

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL