From d53f824b1af0bb2d05c9c6e46f37a36890d1303f Mon Sep 17 00:00:00 2001 From: rtm516 Date: Mon, 2 Jan 2023 13:12:48 +0000 Subject: [PATCH] Add bot.registry to ts declaration (#2886) --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 8cb74fc4d..7dd54e26e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -8,6 +8,7 @@ import { Recipe } from 'prismarine-recipe' import { Block } from 'prismarine-block' import { Entity } from 'prismarine-entity' import { ChatMessage } from 'prismarine-chat' +import { Registry } from 'prismarine-registry' export function createBot (options: { client: Client } & Partial): Bot export function createBot (options: BotOptions): Bot @@ -192,6 +193,7 @@ export interface Bot extends TypedEmitter { currentWindow: Window | null simpleClick: simpleClick tablist: Tablist + registry: Registry connect: (options: BotOptions) => void