| 16 | export function createBot (options: BotOptions): Bot |
| 17 | |
| 18 | export 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 | |
| 38 | export type ChatLevel = 'enabled' | 'commandsOnly' | 'disabled' |
| 39 | export type ViewDistance = 'far' | 'normal' | 'short' | 'tiny' | number |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…