|
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"](#usedfirework) |
229 | 229 | - ["move"](#move) |
230 | 230 | - ["forcedMove"](#forcedmove) |
231 | 231 | - ["mount"](#mount) |
|
291 | 291 | - [bot.getExplosionDamages(entity, position, radius, [rawDamages])](#botgetexplosiondamagesentity-position-radius-rawdamages) |
292 | 292 | - [bot.lookAt(point, [force])](#botlookatpoint-force) |
293 | 293 | - [bot.look(yaw, pitch, [force])](#botlookyaw-pitch-force) |
294 | | - - [bot.updateSign(block, text)](#botupdatesignblock-text) |
| 294 | + - [bot.updateSign(block, text, back = false)](#botupdatesignblock-text-back--false) |
295 | 295 | - [bot.equip(item, destination)](#botequipitem-destination) |
296 | 296 | - [bot.unequip(destination)](#botunequipdestination) |
297 | 297 | - [bot.tossStack(item)](#bottossstackitem) |
|
331 | 331 | - [bot.setCommandBlock(pos, command, [options])](#botsetcommandblockpos-command-options) |
332 | 332 | - [bot.supportFeature(name)](#botsupportfeaturename) |
333 | 333 | - [bot.waitForTicks(ticks)](#botwaitforticksticks) |
| 334 | + - [bot.respawn()](#botrespawn) |
334 | 335 | - [Lower level inventory methods](#lower-level-inventory-methods) |
335 | 336 | - [bot.clickWindow(slot, mouseButton, mode)](#botclickwindowslot-mousebutton-mode) |
336 | 337 | - [bot.putSelectedItemRange(start, end, window, slot)](#botputselecteditemrangestart-end-window-slot) |
@@ -2103,6 +2104,10 @@ The list of available features can be found inside the [./lib/features.json](htt |
2103 | 2104 |
|
2104 | 2105 | This is a promise-based function that waits for a given number of in-game ticks to pass before continuing. This is useful for quick timers that need to function with specific timing, regardless of the given physics tick speed of the bot. This is similar to the standard Javascript setTimeout function, but runs on the physics timer of the bot specifically. |
2105 | 2106 |
|
| 2107 | +#### bot.respawn() |
| 2108 | + |
| 2109 | +When `respawn` option is disabled, you can call this method manually to respawn. |
| 2110 | + |
2106 | 2111 | ### Lower level inventory methods |
2107 | 2112 |
|
2108 | 2113 | These are lower level methods for the inventory, they can be useful sometimes but prefer the inventory methods presented above if you can. |
|
0 commit comments