Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetIndex ¶
func CorrectedArch ¶
func CorrectedArch() string
func CorrectedOS ¶
func CorrectedOS() string
func ShellCommand ¶
Types ¶
type ConfigFile ¶
type ConfigFile struct { JRE string `json:"JRE"` Memory Memory `json:"Memory"` WorkingDirectory string `json:"WorkingDirectory"` GameDirectory string `json:"GameDirectory"` PreJava string `json:"PreJava"` JavaAgents []string `json:"JavaAgents"` EnvVars []struct { Key string `json:"Key"` Value string `json:"Value"` } `json:"EnvironmentVariables"` Width int `json:"Width"` Height int `json:"Height"` Fullscreen bool `json:"Fullscreen"` JVMArgs []string `json:"JVMArgs"` }
func (*ConfigFile) LoadConfig ¶
func (config *ConfigFile) LoadConfig(path string)
func (ConfigFile) SetEnv ¶
func (config ConfigFile) SetEnv()
type MinecraftArgs ¶
type MinecraftArgs struct { BaseArgs []string JVMArgs []string Classpath []string IchorClassPath []string IchorExternalFiles []string JavaAgents []string RAM Memory Width int Height int MainClass string Version string AssetIndex string GameDir string TexturesDir string UIDir string WebOSRDir string WorkingDir string ClassPathDir string Fullscreen bool }
func (MinecraftArgs) CompileArgs ¶
func (args MinecraftArgs) CompileArgs(sep string) string
Click to show internal directories.
Click to hide internal directories.