169169 - [ "respawn"] ( #respawn )
170170 - [ "game"] ( #game )
171171 - [ "resourcePack" (url, hash)] ( #resourcepack-url-hash )
172- - [ "title"] ( #title )
172+ - [ "title" (title, type) ] ( #title-title-type )
173173 - [ "rain"] ( #rain )
174174 - [ "weatherUpdate"] ( #weatherupdate )
175175 - [ "time"] ( #time )
@@ -1237,11 +1237,12 @@ Emitted when the server changes any of the game properties.
12371237
12381238Emitted when the server sends a resource pack.
12391239
1240- #### "title"
1240+ #### "title" (title, type)
12411241
12421242Emitted when the server sends a title
12431243
1244- * ` text ` - title's text
1244+ * ` title ` - title's text
1245+ * ` type ` - title's type "subtitle" or "title"
12451246
12461247#### "rain"
12471248
@@ -1771,7 +1772,7 @@ Checks if the given plugin is loaded (or scheduled to be loaded) on this bot.
17711772
17721773This function returns a ` Promise ` , with ` void ` as its argument upon completion.
17731774
1774- Sleep in a bed. ` bedBlock ` should be a ` Block ` instance which is a bed.
1775+ Sleep in a bed. ` bedBlock ` should be a ` Block ` instance which is a bed.
17751776
17761777#### bot.isABed(bedBlock)
17771778
@@ -1781,7 +1782,7 @@ Return true if `bedBlock` is a bed
17811782
17821783This function returns a ` Promise ` , with ` void ` as its argument upon completion.
17831784
1784- Get out of bed.
1785+ Get out of bed.
17851786
17861787#### bot.setControlState(control, state)
17871788
@@ -2120,7 +2121,7 @@ These are lower level methods for the inventory, they can be useful sometimes bu
21202121#### bot.clickWindow(slot, mouseButton, mode)
21212122
21222123This function returns a ` Promise ` , with ` void ` as its argument upon completion.
2123-
2124+
21242125The only valid mode option at the moment is 0. Shift clicking or mouse dragging is not implemented.
21252126
21262127Click on the current window. See details at https://wiki.vg/Protocol#Click_Container
0 commit comments