types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckUpdate

type CheckUpdate struct {
	IsUpdate bool   `json:"isUpdate"`
	Version  string `json:"version"`
	Body     string `json:"body"`
}

type ContentRoots

type ContentRoots struct {
	Base          string `json:"base"`
	UsersRoot     string `json:"usersRoot"`
	ResourcePacks string `json:"resourcePacks"`
	BehaviorPacks string `json:"behaviorPacks"`
	IsIsolation   bool   `json:"isIsolation"`
	IsPreview     bool   `json:"isPreview"`
}

type ExtractProgress

type ExtractProgress struct {
	Dir   string `json:"dir"`
	Files int64  `json:"files"`
	Bytes int64  `json:"bytes"`
	Ts    int64  `json:"ts"`
}

type FileEntry

type FileEntry struct {
	Name  string `json:"name"`
	Path  string `json:"path"`
	IsDir bool   `json:"isDir"`
	Size  int64  `json:"size"`
}

type LanguageJson

type LanguageJson struct {
	Code     string `json:"code"`
	Language string `json:"language"`
}

type LevelDatField

type LevelDatField struct {
	Name        string   `json:"name"`
	Tag         string   `json:"tag"`
	ValueString string   `json:"valueString"`
	ValueJSON   string   `json:"valueJSON"`
	IsBoolLike  bool     `json:"isBoolLike"`
	InData      bool     `json:"inData"`
	Path        []string `json:"path,omitempty"`
}

type LocalVersion

type LocalVersion struct {
	Name        string `json:"name"`
	Uuid        string `json:"uuid"`
	Path        string `json:"path"`
	Version     string `json:"version"`
	IsLaunched  bool   `json:"isLaunched"`
	IsPreview   bool   `json:"isPreview"`
	IsPreLoader bool   `json:"isPreLoader"`
}

type MinecraftVersion

type MinecraftVersion struct {
	Version   string `json:"version"`
	Uuid      string `json:"uuid"`
	Type      int    `json:"type"`
	SupportPL bool   `json:"supportPL"`
}

type MirrorTestResult

type MirrorTestResult struct {
	URL       string `json:"url"`
	LatencyMs int64  `json:"latencyMs"`
	Ok        bool   `json:"ok"`
	Status    int    `json:"status"`
	Error     string `json:"error,omitempty"`
}

type ModInfo

type ModInfo struct {
	Name    string `json:"name"`
	Entry   string `json:"entry"`
	Version string `json:"version"`
	Type    string `json:"type"`
	Author  string `json:"author,omitempty"`
}

type ModManifestJson

type ModManifestJson struct {
	Name    string `json:"name"`
	Entry   string `json:"entry"`
	Version string `json:"version"`
	Type    string `json:"type"`
	Author  string `json:"author,omitempty"`
}

type PackInfo

type PackInfo struct {
	Name             string `json:"name"`
	Description      string `json:"description"`
	Version          string `json:"version"`
	MinEngineVersion string `json:"minEngineVersion"`
	IconDataUrl      string `json:"iconDataUrl"`
	Path             string `json:"path"`
}

type PreloaderJson

type PreloaderJson struct {
	ColorLog bool   `json:"colorLog"`
	LogLevel int    `json:"logLevel"`
	LogPath  string `json:"logPath"`
	ModsPath string `json:"modsPath"`
	Version  int    `json:"version"`
}

type VersionJson

type VersionJson struct {
	Name        string `json:"name"`
	Uuid        string `json:"uuid"`
	Version     string `json:"version"`
	IsPreview   bool   `json:"isPreview"`
	IsPreLoader bool   `json:"isPreLoader"`
}

Jump to

Keyboard shortcuts

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