silver-mc-java-core
Version:
A library starting minecraft game NW.js and Electron.js
24 lines (23 loc) • 807 B
TypeScript
/**
* @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 NeoForgeMC extends EventEmitter {
options: any;
constructor(options?: {});
downloadInstaller(Loader: any): Promise<{
error: string;
filePath?: undefined;
oldAPI?: undefined;
} | {
filePath: string;
oldAPI: boolean;
error?: undefined;
}>;
extractProfile(pathInstaller: any): Promise<any>;
extractUniversalJar(profile: any, pathInstaller: any, oldAPI: any): Promise<boolean>;
downloadLibraries(profile: any, skipneoForgeFilter: any): Promise<any>;
patchneoForge(profile: any, oldAPI: any): Promise<boolean>;
}