Documentation
¶
Index ¶
Constants ¶
View Source
const ( Launcherbrand string = internal.Launcherbrand Launcherversion string = internal.Launcherversion )
View Source
const Minecraft string = ".minecraft"
Variables ¶
View Source
var ErrJavaPath = errors.New("java path not exists")
View Source
var JsonErr = errors.New("json err")
View Source
var JsonNorTrue = errors.New("json not true")
Functions ¶
func FullLibraryX115 ¶ added in v1.4.6
func FullLibraryX115(l *LibraryX115, url string) [3]string
func Ifallow ¶ added in v1.1.12
func Ifallow(l LibraryX115) bool
Types ¶
type ErrLegacyNoExit ¶ added in v1.4.0
type ErrLegacyNoExit struct {
// contains filtered or unexported fields
}
func (ErrLegacyNoExit) Error ¶ added in v1.4.0
func (e ErrLegacyNoExit) Error() string
func (ErrLegacyNoExit) Unwrap ¶ added in v1.4.0
func (e ErrLegacyNoExit) Unwrap() error
type Gameinfo ¶
type Gameinfo struct { //D:/mc/.minecraft Minecraftpath string //4096 RAM string //xmdhs Name string //9f51573a5ec545828c2b09f7f08497b1 UUID string //eyJhbGciOiJIUzI1NiJ9 AccessToken string //D:/mc/.minecraft/versions/1.15.2 Gamedir string //1.15.2 Version string //1.15.json []byte Jsonbyte []byte Flag []string //"{\"preferredLanguage\":[\"zh-cn\"],\"registrationCountry\":[\"CN\"]}" Userproperties string Log bool JavePath string ApiAddress string // contains filtered or unexported fields }
func (*Gameinfo) GenLauncherCmdArgs ¶ added in v1.3.12
type LauncherjsonX115 ¶
type Librarie ¶
type Librarie struct { Url string `json:"url"` Clientreq bool `json:"clientreq"` Serverreq bool `json:"serverreq"` LibraryX115 }
type LibraryX115 ¶
type LibraryX115 struct { Downloads downloadsX115 `json:"downloads"` Extract extractX115 `json:"extract"` Name string `json:"name"` Natives nativesX115 `json:"natives"` Rules []ruleX115 `json:"rules"` }
Click to show internal directories.
Click to hide internal directories.