develop

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: BSD-2-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ModVersion            // Version
	MinecraftVersion      // Minecraft
	ArchitecturyVersion   // Architectury
	FabricLoaderVersion   // Fabric Loader
	FabricApiVersion      // Fabric API
	YarnMappingsVersion   // Yarn Mappings
	ForgeVersion          // Forge
	ForgeMappingsVersion  // Forge Mappings
	QuiltLoaderVersion    // Quilt Loader
	QuiltFabricApiVersion // Quilted Fabric API
	QuiltMappingsVersion  // Quilt Mappings
	NeoForgeVersion       // NeoForge
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DevFetch

type DevFetch struct {
	Name string
	Call func() error
}

type DevPlatform

type DevPlatform struct {
	Name string
	Sub  string
}

type Develop

type Develop interface {
	Platform() DevPlatform
	FetchCalls() []DevFetch
	ValidTree(tree fs.FS) bool
	ReadVersionFile(tree fs.FS, name string) (map[PropVersion]string, error)
	LatestVersion(prop PropVersion, mcVersion string) (string, bool)
	LatestLoaderVersion(mcVersion string) (string, error)
}

type PlatformVersions

type PlatformVersions struct {
	Platform Develop
	Versions map[PropVersion]string
}

type PropVersion

type PropVersion int

func PropVersionFromKey

func PropVersionFromKey(k string) (PropVersion, bool)

func (PropVersion) Key

func (v PropVersion) Key() string

func (PropVersion) String

func (i PropVersion) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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