Documentation ¶
Index ¶
- Constants
- type Minecraft
- func (m *Minecraft) DownloadClient(downloader *util.Downloader) error
- func (m *Minecraft) DownloadServer(downloader *util.Downloader) error
- func (m *Minecraft) GetAssetsIndex() ([]byte, error)
- func (m *Minecraft) GetId() (string, error)
- func (m *Minecraft) GetLaunchArguments() (string, error)
- func (m *Minecraft) GetLibraries() ([]*util.Library, error)
- func (m *Minecraft) GetMainClass() (string, error)
- func (m *Minecraft) GetManifest() ([]byte, error)
- func (m *Minecraft) GetVersionsManifest() ([]byte, error)
- func (m *Minecraft) MakeClientInstance(downloader *util.Downloader, buildlocation string) error
Constants ¶
View Source
const MINECRAFT_ASSETS_BASE_URL = "http://resources.download.minecraft.net/"
View Source
const MINECRAFT_VERSION_MANIFEST_URL = "https://launchermeta.mojang.com/mc/game/version_manifest.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Minecraft ¶
type Minecraft struct { Version string // contains filtered or unexported fields }
func NewMinecraft ¶
func (*Minecraft) DownloadClient ¶
func (m *Minecraft) DownloadClient(downloader *util.Downloader) error
func (*Minecraft) DownloadServer ¶
func (m *Minecraft) DownloadServer(downloader *util.Downloader) error
func (*Minecraft) GetAssetsIndex ¶
func (*Minecraft) GetLaunchArguments ¶
func (*Minecraft) GetMainClass ¶
func (*Minecraft) GetManifest ¶
func (*Minecraft) GetVersionsManifest ¶
func (*Minecraft) MakeClientInstance ¶
func (m *Minecraft) MakeClientInstance(downloader *util.Downloader, buildlocation string) error
Click to show internal directories.
Click to hide internal directories.