manifestreader

package
v0.0.0-...-601638f Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinecraftVersion

func MinecraftVersion() string

func ModpackName

func ModpackName() string

func ModpackVersion

func ModpackVersion() string

func OverridesDir

func OverridesDir() string

func Read

func Read(manifest string) error

Types

type FileType

type FileType struct {
	FileID    int
	ProjectID int
	Required  bool
}

func Modlist

func Modlist() []FileType

type ManifestType

type ManifestType struct {
	Author          string
	Files           []FileType
	ManifestType    string
	ManifestVersion int
	Minecraft       MinecraftType
	Name            string
	Overrides       string
	ProjectID       int
	Version         string
}

type MinecraftType

type MinecraftType struct {
	Modloaders []ModloadersType
	Version    string
}

func Minecraft

func Minecraft() MinecraftType

type ModloadersType

type ModloadersType struct {
	Id      string
	Primary bool
}

func Modloaders

func Modloaders() []ModloadersType

Jump to

Keyboard shortcuts

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