Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Create ¶
type Create struct {
ID string `arg:"" name:"id" help:"Instance name"`
Loader string `name:"loader" help:"Mod loader to use" enum:"fabric,quilt,neoforge,forge,vanilla" default:"vanilla" short:"l"`
Version string `name:"version" help:"Game version" default:"release" short:"v"`
LoaderVersion string `name:"loader-version" help:"Loader version" default:"latest"`
}
type Delete ¶
type Login ¶
type Login struct {
NoBrowser bool `name:"no-browser" help:"Use device code instead of browser for authentication"`
}
type Rename ¶ added in v1.1.0
type Search ¶
type Start ¶
type Start struct {
ID string `arg:"" name:"id" help:"Instance to launch"`
Verbose bool `name:"verbose" help:"Increase verbosity" short:"v"`
Username string `name:"username" help:"Set your username to the provided value (launches game in offline mode)" short:"u" group:"Game Options"`
Server string `name:"server" help:"Join a server immediately upon starting the game" short:"s" group:"Game Options"`
Demo bool `name:"demo" help:"Start the game in demo mode" group:"Game Options"`
DisableMP bool `name:"disable-mp" help:"Disable multiplayer" group:"Game Options"`
DisableChat bool `name:"disable-chat" help:"Disable chat" group:"Game Options"`
Width int `name:"width" help:"Game window width" group:"Configuration Overrides"`
Height int `name:"height" help:"Game window height" group:"Configuration Overrides" `
JVM string `name:"jvm" help:"Path to the JVM to use" group:"Configuration Overrides" type:"path" placeholder:"PATH"`
MinMemory int `name:"min-memory" help:"Minimum memory" group:"Configuration Overrides" placeholder:"MB"`
MaxMemory int `name:"max-memory" help:"Maximum memory" group:"Configuration Overrides" placeholder:"MB"`
}
Click to show internal directories.
Click to hide internal directories.