Documentation
¶
Index ¶
- Variables
- func ForFabric(conf config.DevelopConfig, cache string) develop.Develop
- func ForForge(conf config.DevelopConfig, cache string) develop.Develop
- func ForQuilt(conf config.DevelopConfig, cache string) develop.Develop
- type Architectury
- func (f *Architectury) FetchCalls() []develop.DevFetch
- func (f *Architectury) LatestVersion(prop develop.PropVersion, mcVersion string) (string, bool)
- func (f *Architectury) Platform() develop.DevPlatform
- func (f *Architectury) ReadVersionFile(tree *object.Tree) (map[develop.PropVersion]string, error)
- func (f *Architectury) SubPlatformNames() []string
- func (f *Architectury) ValidTree(tree *object.Tree) bool
- func (f *Architectury) ValidTreeArch(_ *object.Tree) bool
- type ArchitecturyMeta
- type Fabric
- func (f Fabric) FetchCalls() []develop.DevFetch
- func (f *Fabric) LatestVersion(prop develop.PropVersion, mcVersion string) (string, bool)
- func (f Fabric) Platform() develop.DevPlatform
- func (f Fabric) ReadVersionFile(tree *object.Tree) (map[develop.PropVersion]string, error)
- func (f Fabric) ValidTree(tree *object.Tree) bool
- func (f Fabric) ValidTreeArch(tree *object.Tree) bool
- type FabricMeta
- type Forge
- func (f Forge) FetchCalls() []develop.DevFetch
- func (f *Forge) LatestVersion(prop develop.PropVersion, mcVersion string) (string, bool)
- func (f Forge) Platform() develop.DevPlatform
- func (f Forge) ReadVersionFile(tree *object.Tree) (map[develop.PropVersion]string, error)
- func (f Forge) ValidTree(tree *object.Tree) bool
- func (f Forge) ValidTreeArch(tree *object.Tree) bool
- type ForgeMeta
- type Quilt
- func (q Quilt) FetchCalls() []develop.DevFetch
- func (q *Quilt) LatestVersion(prop develop.PropVersion, mcVersion string) (string, bool)
- func (q Quilt) Platform() develop.DevPlatform
- func (q Quilt) ReadVersionFile(tree *object.Tree) (map[develop.PropVersion]string, error)
- func (q Quilt) ValidTree(tree *object.Tree) bool
- func (q Quilt) ValidTreeArch(tree *object.Tree) bool
- type QuiltMeta
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DevelopPlatformsFactory = []func(config.DevelopConfig, string) develop.Develop{ ForFabric, ForForge, ForQuilt, } Platforms = []develop.DevPlatform{ PlatformFabric, PlatformForge, PlatformQuilt, } )
View Source
var ErrOutdatedCache = errors.New("outdated cache")
View Source
var PlatformArchitectury = develop.DevPlatform{Name: "Architectury", Branch: "arch-"}
View Source
var (
PlatformFabric = develop.DevPlatform{Name: "Fabric", Branch: "fabric-"}
)
View Source
var (
PlatformForge = develop.DevPlatform{Name: "Forge", Branch: "forge-"}
)
View Source
var (
PlatformQuilt = develop.DevPlatform{Name: "Quilt", Branch: "quilt-"}
)
Functions ¶
Types ¶
type Architectury ¶
type Architectury struct {
Conf config.ArchitecturyDevelopConfig
Meta *ArchitecturyMeta
Cache string
SubPlatforms map[develop.DevPlatform]develop.Develop
}
func ForArchitectury ¶
func ForArchitectury(conf config.DevelopConfig, cache string) *Architectury
func (*Architectury) FetchCalls ¶
func (f *Architectury) FetchCalls() []develop.DevFetch
func (*Architectury) LatestVersion ¶
func (f *Architectury) LatestVersion(prop develop.PropVersion, mcVersion string) (string, bool)
func (*Architectury) Platform ¶
func (f *Architectury) Platform() develop.DevPlatform
func (*Architectury) ReadVersionFile ¶
func (f *Architectury) ReadVersionFile(tree *object.Tree) (map[develop.PropVersion]string, error)
func (*Architectury) SubPlatformNames ¶
func (f *Architectury) SubPlatformNames() []string
func (*Architectury) ValidTreeArch ¶
func (f *Architectury) ValidTreeArch(_ *object.Tree) bool
type ArchitecturyMeta ¶
type ArchitecturyMeta struct {
Api meta.ArchitecturyApiMeta
// contains filtered or unexported fields
}
type Fabric ¶
type Fabric struct {
Conf config.FabricDevelopConfig
Meta *FabricMeta
Cache string
}
func (Fabric) FetchCalls ¶
func (*Fabric) LatestVersion ¶
func (Fabric) Platform ¶
func (f Fabric) Platform() develop.DevPlatform
func (Fabric) ReadVersionFile ¶
type FabricMeta ¶
type FabricMeta struct {
Game meta.FabricGameMeta
Yarn meta.FabricYarnMeta
Loader meta.FabricLoaderMeta
Api meta.FabricApiMeta
// contains filtered or unexported fields
}
type Forge ¶
type Forge struct {
Conf config.ForgeDevelopConfig
Meta *ForgeMeta
Cache string
}
func (Forge) FetchCalls ¶
func (*Forge) LatestVersion ¶
func (Forge) Platform ¶
func (f Forge) Platform() develop.DevPlatform
func (Forge) ReadVersionFile ¶
type ForgeMeta ¶
type ForgeMeta struct {
Api meta.ForgeApiMeta
// contains filtered or unexported fields
}
type Quilt ¶
type Quilt struct {
Conf config.QuiltDevelopConfig
Meta *QuiltMeta
Cache string
}
func (Quilt) FetchCalls ¶
func (*Quilt) LatestVersion ¶
func (Quilt) Platform ¶
func (q Quilt) Platform() develop.DevPlatform
func (Quilt) ReadVersionFile ¶
type QuiltMeta ¶
type QuiltMeta struct {
Game meta.QuiltGameMeta
QuiltMappings meta.QuiltMappingsMeta
QuiltMappingsOnLoom meta.QuiltMappingsOnLoomMeta
Loader meta.QuiltLoaderMeta
QuiltStandardLibrary meta.QuiltStandardLibraryMeta
QuiltedFabricApi meta.QuiltedFabricApiMeta
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.