From afe4c4d7a42b98a8cbf7e6c0290695a0f39eabba Mon Sep 17 00:00:00 2001 From: Kev Date: Wed, 10 Feb 2021 15:04:25 +0100 Subject: [PATCH] Add launcher methods to index.d.ts --- index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.d.ts b/index.d.ts index 652e293..3353a8e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -206,6 +206,12 @@ declare module "minecraft-launcher-core" { export class Client extends EventEmitter { launch(options: ILauncherOptions): ChildProcessWithoutNullStreams | null; + protected printVersion(): void; + protected createRootDirectory(): void; + protected createGameDirectory(): void; + protected async extractPackage(): void; + protected async getModifyJson(): any; + protected startMinecraft(launchArguments: string[]): ChildProcessWithoutNullStreams; } export const Authenticator: IAuthenticator;