UNPKG

silver-mc-java-core

Version:

A library starting minecraft game NW.js and Electron.js

29 lines (28 loc) 929 B
/** * @author Luuxis * @license CC-BY-NC 4.0 - https://creativecommons.org/licenses/by-nc/4.0/ */ /// <reference types="node" /> import { EventEmitter } from 'events'; export default class ForgeMC extends EventEmitter { options: any; constructor(options?: {}); downloadInstaller(Loader: any): Promise<{ error: string; filePath?: undefined; metaData?: undefined; ext?: undefined; id?: undefined; } | { filePath: string; metaData: any; ext: String; id: string; error?: undefined; }>; extractProfile(pathInstaller: any): Promise<any>; extractUniversalJar(profile: any, pathInstaller: any): Promise<boolean>; downloadLibraries(profile: any, skipForgeFilter: any): Promise<any>; patchForge(profile: any): Promise<boolean>; createProfile(id: any, pathInstaller: any): Promise<any>; }