MCPcopy
hub / github.com/PrismarineJS/mineflayer / BotOptions

Interface BotOptions

index.d.ts:18–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16export function createBot (options: BotOptions): Bot
17
18export interface BotOptions extends ClientOptions {
19 logErrors?: boolean
20 hideErrors?: boolean
21 loadInternalPlugins?: boolean
22 plugins?: PluginOptions
23 chat?: ChatLevel
24 colorsEnabled?: boolean
25 viewDistance?: ViewDistance
26 mainHand?: MainHands
27 difficulty?: number
28 chatLengthLimit?: number
29 physicsEnabled?: boolean
30 /** @default 4 */
31 maxCatchupTicks?: number
32 client?: Client
33 brand?: string
34 defaultChatPatterns?: boolean
35 respawn?: boolean
36}
37
38export type ChatLevel = 'enabled' | 'commandsOnly' | 'disabled'
39export type ViewDistance = 'far' | 'normal' | 'short' | 'tiny' | number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…