minecraft

package
v0.0.0-...-4a08baf Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 NewMinecraft(version string) *Minecraft

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 (m *Minecraft) GetAssetsIndex() ([]byte, error)

func (*Minecraft) GetId

func (m *Minecraft) GetId() (string, error)

func (*Minecraft) GetLaunchArguments

func (m *Minecraft) GetLaunchArguments() (string, error)

func (*Minecraft) GetLibraries

func (m *Minecraft) GetLibraries() ([]*util.Library, error)

func (*Minecraft) GetMainClass

func (m *Minecraft) GetMainClass() (string, error)

func (*Minecraft) GetManifest

func (m *Minecraft) GetManifest() ([]byte, error)

func (*Minecraft) GetVersionsManifest

func (m *Minecraft) GetVersionsManifest() ([]byte, error)

func (*Minecraft) MakeClientInstance

func (m *Minecraft) MakeClientInstance(downloader *util.Downloader, buildlocation string) error

Jump to

Keyboard shortcuts

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