File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { Entity } from 'prismarine-entity'
10
10
import { ChatMessage } from 'prismarine-chat'
11
11
import { world } from 'prismarine-world'
12
12
import { Registry } from 'prismarine-registry'
13
+ import { IndexedData } from 'minecraft-data'
13
14
14
15
export function createBot ( options : { client : Client } & Partial < BotOptions > ) : Bot
15
16
export function createBot ( options : BotOptions ) : Bot
@@ -26,6 +27,8 @@ export interface BotOptions extends ClientOptions {
26
27
difficulty ?: number
27
28
chatLengthLimit ?: number
28
29
physicsEnabled ?: boolean
30
+ /** @default 4 */
31
+ maxCatchupTicks ?: number
29
32
client ?: Client
30
33
brand ?: string
31
34
defaultChatPatterns ?: boolean
@@ -204,7 +207,7 @@ export interface Bot extends TypedEmitter<BotEvents> {
204
207
205
208
connect : ( options : BotOptions ) => void
206
209
207
- supportFeature : ( feature : string ) => boolean
210
+ supportFeature : IndexedData [ 'supportFeature' ]
208
211
209
212
end : ( reason ?: string ) => void
210
213
You can’t perform that action at this time.
0 commit comments