UNPKG

ori-core-java

Version:

Simple Minecraft library for launching minecraft game written in Typescript.

48 lines (47 loc) 963 B
/** * @author Cosmic-fi */ type loader = { type?: string; build?: string; enable?: boolean; }; type screen = { width?: number; height?: number; fullscreen?: boolean; }; type memory = { min?: string; max?: string; }; type LaunchOPTS = { url: string | null; authenticator: any; timeout?: number; path: string; version: string; instance?: string; detached?: boolean; fullscreen?: boolean; downloadFileMultiple?: number; intelEnabledMac?: boolean; loader: loader; verify: boolean; ignored: string[]; JVM_ARGS: string[]; GAME_ARGS: string[]; javaPath: string; screen: screen; memory: memory; }; export default class Launch { options: LaunchOPTS; on: any; emit: any; constructor(); Launch(opt: LaunchOPTS): Promise<any>; start(): Promise<void>; DownloadGame(): Promise<any>; } export {};