///
import { ForgeVersion, MinecraftVersion } from "./utils/Versions";
import { LibraryManager } from "./utils/Libraries";
import { AssetManager } from "./utils/Assets";
import { child_process } from 'mz';
import { AuthenticationResult } from "./utils/Authentication";
import { ForgeVersionDescription, ForgeVersionType } from "./utils/Manifests";
import { ForgeMod } from "./utils/Mods";
import { InstallationProgress } from "./utils/InstallationProgress";
export { Authentication, AuthenticationResult } from "./utils/Authentication";
export { ForgeVersion, MinecraftVersion } from "./utils/Versions";
export { InstallationProgress } from "./utils/InstallationProgress";
export { CurseForgeMod, CustomForgeMod, ForgeMod } from "./utils/Mods";
export { ForgeVersionDescription, ForgeVersionType } from "./utils/Manifests";
export declare class MinecraftClient {
version: MinecraftVersion;
options: ClientOptions;
forge: ForgeVersion;
nativeDir: string;
progress: InstallationProgress;
libraryManager: LibraryManager;
assetManager: AssetManager;
private constructor();
private static readonly defaultConfig;
static getMinecraftClient(version: string | MinecraftVersion, options: ClientOptions, progress?: InstallationProgress): Promise;
static getForgeClient(version: string | MinecraftVersion, forge: ForgeVersionType | ForgeVersionDescription, options: ClientOptions, progress?: InstallationProgress): Promise;
static getClient(version: string | MinecraftVersion, forge: ForgeVersionType | ForgeVersionDescription, options: ClientOptions, progress?: InstallationProgress): Promise;
checkInstallation(): Promise;
private loadServersDat;
private saveServersDat;
ensureServersDat(server: ServerInfo): Promise;
checkMods(mods: ForgeMod[], exclusive: boolean): Promise;
launch(auth: AuthenticationResult, launchOptions?: LaunchOptions): Promise;
}
export declare type ClientOptions = {
gameDir?: string;
javaExecutable?: string;
features?: {
is_demo_user?: boolean;
has_custom_resolution?: boolean;
has_custom_server?: boolean;
};
};
export declare type LaunchOptions = {
redirectOutput?: boolean;
resolution?: {
width: number;
height: number;
};
server?: {
host: string;
port: number;
};
memory?: string;
};
export declare type ServerInfo = {
host: string;
port?: number;
name?: string;
};
export declare type ServersDatItem = {
ip: {
type: "string";
value: string;
};
name: {
type: "string";
value: string;
};
};
export declare type ServersDatManifest = {
name: "";
value: {
servers: {
type: "list";
value: {
type: "compound";
value: ServersDatItem[];
};
};
};
};