|
225 | 225 | - ["blockBreakProgressEnd" (block, entity)](#blockbreakprogressend-block-entity)
|
226 | 226 | - ["diggingCompleted" (block)](#diggingcompleted-block)
|
227 | 227 | - ["diggingAborted" (block)](#diggingaborted-block)
|
228 |
| - - ["usedfirework"](#usedfirework) |
| 228 | + - ["usedFirework" (fireworkEntityId)](#usedfirework-fireworkentityid) |
229 | 229 | - ["move"](#move)
|
230 | 230 | - ["forcedMove"](#forcedmove)
|
231 | 231 | - ["mount"](#mount)
|
|
270 | 270 | - [Methods](#methods)
|
271 | 271 | - [bot.end(reason)](#botendreason)
|
272 | 272 | - [bot.quit(reason)](#botquitreason)
|
273 |
| - - [bot.tabComplete(str, [assumeCommand], [sendBlockInSight])](#bottabcompletestr-assumecommand-sendblockinsight) |
| 273 | + - [bot.tabComplete(str, [assumeCommand], [sendBlockInSight], [timeout])](#bottabcompletestr-assumecommand-sendblockinsight-timeout) |
274 | 274 | - [bot.chat(message)](#botchatmessage)
|
275 | 275 | - [bot.whisper(username, message)](#botwhisperusername-message)
|
276 | 276 | - [bot.chatAddPattern(pattern, chatType, description)](#botchataddpatternpattern-chattype-description)
|
@@ -1649,14 +1649,15 @@ End the connection with the server.
|
1649 | 1649 |
|
1650 | 1650 | Gracefully disconnect from the server with the given reason (defaults to 'disconnect.quitting').
|
1651 | 1651 |
|
1652 |
| -#### bot.tabComplete(str, [assumeCommand], [sendBlockInSight]) |
| 1652 | +#### bot.tabComplete(str, [assumeCommand], [sendBlockInSight], [timeout]) |
1653 | 1653 |
|
1654 | 1654 | This function returns a `Promise`, with `matches` as its argument upon completion.
|
1655 | 1655 |
|
1656 | 1656 | Requests chat completion from the server.
|
1657 | 1657 | * `str` - String to complete.
|
1658 | 1658 | * `assumeCommand` - Field sent to server, defaults to false.
|
1659 | 1659 | * `sendBlockInSight` - Field sent to server, defaults to true. Set this option to false if you want more performance.
|
| 1660 | + * `timeout` - Timeout in milliseconds, after which the function will return an ampty array, defaults to 5000. |
1660 | 1661 |
|
1661 | 1662 | #### bot.chat(message)
|
1662 | 1663 |
|
|
0 commit comments