mineflayer 3.13.1 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/FUNDING.yml +3 -0
- package/.github/workflows/ci.yml +2 -0
- package/README.md +10 -6
- package/docs/FAQ.md +10 -2
- package/docs/README.md +10 -6
- package/docs/api.md +8 -0
- package/docs/history.md +17 -0
- package/docs/zh/CONTRIBUTING.md +93 -0
- package/docs/zh/FAQ.md +169 -0
- package/docs/zh/README_ZH_CN.md +32 -25
- package/docs/zh/_sidebar.md +9 -0
- package/docs/zh/api.md +2132 -0
- package/docs/zh/demos.md +18 -0
- package/docs/zh/history.md +914 -0
- package/docs/zh/index.html +38 -0
- package/docs/zh/tutorial.md +718 -0
- package/examples/attack.js +45 -0
- package/index.d.ts +21 -8
- package/lib/features.json +42 -27
- package/lib/loader.js +1 -1
- package/lib/plugins/blocks.js +70 -90
- package/lib/plugins/entities.js +12 -5
- package/lib/plugins/game.js +6 -1
- package/lib/version.js +2 -2
- package/package.json +6 -6
|
@@ -0,0 +1,914 @@
|
|
|
1
|
+
## 3.14.0
|
|
2
|
+
|
|
3
|
+
* Make prismarine-entity versioned (@u9g)
|
|
4
|
+
* fix(typings): Added OpenContainer (@SaubereSache)
|
|
5
|
+
|
|
6
|
+
## 3.13.1
|
|
7
|
+
|
|
8
|
+
* Fix bug with force lastSentPitch in bot.look (@KadaverBrutalo10)
|
|
9
|
+
* Fix typo harming type safety (@Eagle-Anne)
|
|
10
|
+
|
|
11
|
+
## 3.13.0
|
|
12
|
+
|
|
13
|
+
* 动态计算记分板显示名称displayName (@U9G)
|
|
14
|
+
* 修复 SkinsRestorer(@U5B)
|
|
15
|
+
* 修复机器人放置方块时不摆臂 (@IceTank)
|
|
16
|
+
|
|
17
|
+
## 3.12.0
|
|
18
|
+
|
|
19
|
+
* Bypass anticheats that detect sensitivity (@mat-1)
|
|
20
|
+
* 修复了一次从tab列表中删除多个玩家的问题 (@mat-1)
|
|
21
|
+
* Added blockAtEntityCursor function (@DatArnoGuy)
|
|
22
|
+
* add option to disable default chat patterns (@U5B)
|
|
23
|
+
* Fixed wrong arm swinging (@IceTank)
|
|
24
|
+
* Add pitch speed to look (@IceTank)
|
|
25
|
+
* 修复控制台垃圾信息 (@IceTank)
|
|
26
|
+
* Update openVillager function to return a promise (@amoraschi)
|
|
27
|
+
* Send arm_animation before use_entity (@aesthetic0001)
|
|
28
|
+
* Add reason for the end of a mineflayer bot (@U5B)
|
|
29
|
+
* added rejection of invalid transaction packets (anticheat fix) (@U5B)
|
|
30
|
+
|
|
31
|
+
## 3.11.2
|
|
32
|
+
* Remove unnecessary and buggy inventory check in place block (@Karang)
|
|
33
|
+
* Make all events allow async cb typings (@u9g)
|
|
34
|
+
|
|
35
|
+
## 3.11.1
|
|
36
|
+
* Get rid of nowaiting (@nickelpro)
|
|
37
|
+
* 更新readme文件 (@inthmafr)
|
|
38
|
+
* 修复打字相关(@link-discord, @IceTank, @u9g)
|
|
39
|
+
|
|
40
|
+
## 3.11.0
|
|
41
|
+
* 优化聊天, 装备和消耗错误 (@u9g)
|
|
42
|
+
* 增加 bot.usingHeldItem (@mat1)
|
|
43
|
+
* 支持 1.17.1 (主要工作是 @nickelpro 和 @u9g 完成的, 还有 @Archengius @extremeheat @imharvol @willocn @rom1504)
|
|
44
|
+
|
|
45
|
+
## 3.10.0
|
|
46
|
+
* 添加中文翻译 (@Nyaasu66)
|
|
47
|
+
* Fix bot.equip failing with off-hand (@IceTank)
|
|
48
|
+
* window.withdraw no longer will drop items if it takes too many items (@Zn10plays)
|
|
49
|
+
* No longer have to await ready for enchanting (@u9g)
|
|
50
|
+
* Remove polling, recursive calling, rechecks for bot.waitForChunksToLoad (@u9g)
|
|
51
|
+
* Add crystal placing example (@u9g)
|
|
52
|
+
* Fixes physicsEnabled check for knockback (@u9g)
|
|
53
|
+
* Default swingArm to left hand (@u9g)
|
|
54
|
+
* Add support for teams (@builder-247)
|
|
55
|
+
* Add missing bot.transfer documentation (@IceTank)
|
|
56
|
+
|
|
57
|
+
## 3.9.0
|
|
58
|
+
* Fix crash on blocks without registered blockId (@Furry)
|
|
59
|
+
* Move when hit by an explsion (@u9g)
|
|
60
|
+
* Add getExplosionDamages() function (@Karang)
|
|
61
|
+
* doc of get explosion (@link-discord)
|
|
62
|
+
|
|
63
|
+
## 3.8.0
|
|
64
|
+
* 改进 index.d.ts (@DrMoraschi)
|
|
65
|
+
* 增加资源包支持 (@kaffinpx)
|
|
66
|
+
* 修复 bot.dig 错误(@MoneyMakingTornado)
|
|
67
|
+
* Added timeout to #consume (@SeanmcCord)
|
|
68
|
+
* 增加资源包示例 (@u9g)
|
|
69
|
+
* 改进工作流程 (@u9g)
|
|
70
|
+
* Linted JS in md files (@u9g)
|
|
71
|
+
* Added bot oxygen Level management (@kaffinpx)
|
|
72
|
+
* Improved links (@satyamedh)
|
|
73
|
+
* Improved links (@AwesomestCode)
|
|
74
|
+
* Improved typing (@u9g)
|
|
75
|
+
* Refactored chat.js (@u9g)
|
|
76
|
+
* Expanded placeBlockWith Options to offhand (@aestetic)
|
|
77
|
+
* Added anvil test (@u9g)
|
|
78
|
+
* Added placeEntity() (@u9g)
|
|
79
|
+
* Improved oxygen typings (@DrMoraschi)
|
|
80
|
+
* Improved socket snippet (@iceTank)
|
|
81
|
+
* Improved placeEntity (@u9g)
|
|
82
|
+
* Renamed bot.quit to end (@u9g)
|
|
83
|
+
* Updated Spanish readme (@DrMoraschi)
|
|
84
|
+
* Added French Translations (@creeper09)
|
|
85
|
+
* Corrected java version in gitpod (@rom)
|
|
86
|
+
* Improved readme lint (@rom)
|
|
87
|
+
* Added container and dropper to allowWindowTypes (@IceTank)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## 3.7.0
|
|
91
|
+
* Add bot.removeChatPattern() (@BlueBurgersTDD)
|
|
92
|
+
* Add events to typings (@DrMoraschi)
|
|
93
|
+
* Add TR translation (@KaffinPX)
|
|
94
|
+
* Create plugin example (@Zn10plays)
|
|
95
|
+
* Revise readme (@IceTank)
|
|
96
|
+
* Revise chat_parsing example comments (@U5B)
|
|
97
|
+
* Revise raycast example (@IceTank)
|
|
98
|
+
* allow passing nmpclient as an option in createbot (@u9g)
|
|
99
|
+
* Add bot.awaitMessage() (@u9g)
|
|
100
|
+
* Add modular example (@u9g)
|
|
101
|
+
* Fix bug with chat patterns (@u9g)
|
|
102
|
+
* Fix bug with game event (@u9g)
|
|
103
|
+
|
|
104
|
+
## 3.6.0
|
|
105
|
+
* add bot.addChatPattern() & bot.addChatPatternSet() & deprecate bot.chatAddPattern() (@U9G)
|
|
106
|
+
|
|
107
|
+
## 3.5.0
|
|
108
|
+
* Add common errors to FAQ (@U9G)
|
|
109
|
+
* Move mosts of index.js to lib/loader.js (@U9G)
|
|
110
|
+
* Improve packet_info handling (@Karang)
|
|
111
|
+
* Add getControlState function (@Camezza)
|
|
112
|
+
|
|
113
|
+
## 3.4.0
|
|
114
|
+
* fix once leak in placeBlock (@Karang)
|
|
115
|
+
* allow sleeping during rain/thunderstorms (@qrvd)
|
|
116
|
+
* Change transaction apology packet to match vanilla client (@FeldrinH)
|
|
117
|
+
|
|
118
|
+
## 3.3.3
|
|
119
|
+
* fix world switch leak
|
|
120
|
+
|
|
121
|
+
## 3.3.2
|
|
122
|
+
* 修复实体名称
|
|
123
|
+
|
|
124
|
+
## 3.3.1
|
|
125
|
+
* 修复停止挖掘 (@Karang)
|
|
126
|
+
|
|
127
|
+
## 3.3.0
|
|
128
|
+
* 修复交易相关 (@validgem)
|
|
129
|
+
* 修复附魔相关 (@goncharovchik)
|
|
130
|
+
* fix newListener and removeListener stacking on world change (@U5B)
|
|
131
|
+
* 增加 'messagestr' 事件(@U9G)
|
|
132
|
+
* Add an option forceLook for place block similar to the digging one (@CyberPatrick)
|
|
133
|
+
* Can see block add intersect match (@sefirosweb)
|
|
134
|
+
* Add ability to use an anvil fully (@U9G)
|
|
135
|
+
|
|
136
|
+
## 3.2.0
|
|
137
|
+
* Fix position in getBlock()
|
|
138
|
+
|
|
139
|
+
## 3.1.0
|
|
140
|
+
* Fix typings of findBlock and findBlocks (@csorfab)
|
|
141
|
+
* place block improvements (@Karang)
|
|
142
|
+
* add face option to dig (@IceTank)
|
|
143
|
+
* trading fixes (@validgem)
|
|
144
|
+
* world events exposed by pworld (@u9g)
|
|
145
|
+
* fix wait for ticks and expose physicsEnabled (@Karang)
|
|
146
|
+
|
|
147
|
+
## 3.0.0
|
|
148
|
+
* added null or undefined check in inventory (@u9g)
|
|
149
|
+
* Removed broken use of "this" in physics.js (@TheDudeFromCI)
|
|
150
|
+
* Promisify testCommon (@ArcticZeroo)
|
|
151
|
+
* Fixed Bot not skipping end credits (@IceTank)
|
|
152
|
+
* BREAKING: Simplify windows API and promisify tests (@Karang) : several methods and events from window API were changed:
|
|
153
|
+
* Removed Chest, EnchantmentTable, Furnace, Dispenser and Villager classes (they all are Windows now)
|
|
154
|
+
* Dispensers are now handled by the same code as other containers, hopper too (they were missing)
|
|
155
|
+
* There is now only 2 events signaling a slot update ("updateSlot" and "updateSlot:slotId" of the Window class) (before there was: "setSlot", "setSlot:windowId", "windowUpdate", "updateSlot", on 3 different eventEmitter (and not all of them were working properly))
|
|
156
|
+
* All windows (present and future) now have a withdraw and deposit function
|
|
157
|
+
|
|
158
|
+
## 2.41.0
|
|
159
|
+
* Fix Time type definition (@hivivo)
|
|
160
|
+
* Add face for block in sight result (@Karang)
|
|
161
|
+
* Fix skin restorer bug (@TheDudeFromCI)
|
|
162
|
+
* Improve enchantment table info (@Karang)
|
|
163
|
+
* 支持 1.16.5 (@rom1504)
|
|
164
|
+
|
|
165
|
+
## 2.40.1
|
|
166
|
+
* Fix for not handling negative numbers in time plugin (@Naomi)
|
|
167
|
+
* Fix typescript Bot definition (@rom1504)
|
|
168
|
+
|
|
169
|
+
## 2.40.0
|
|
170
|
+
* fix for dig ignore (@TheDudeFromCI)
|
|
171
|
+
* better calculation of digging range (@goncharovchik)
|
|
172
|
+
* emit death once (@extremeheat)
|
|
173
|
+
* add waitForTicks function (@TheDudeFromCI)
|
|
174
|
+
* add null check for sign text (@u9g)
|
|
175
|
+
|
|
176
|
+
## 2.39.2
|
|
177
|
+
* explicit node 14 support
|
|
178
|
+
|
|
179
|
+
## 2.39.1
|
|
180
|
+
* add null check in bot.dig (@rom1504)
|
|
181
|
+
* Fix deprecation warning for block in sight (@Karang)
|
|
182
|
+
|
|
183
|
+
## 2.39.0
|
|
184
|
+
* Add number support to bot.chat (@BlueBurgersTDD)
|
|
185
|
+
* Fixed && Improved blockFind function with useExtraInfo = true (@magicaltoast)
|
|
186
|
+
* Added option to allow the bot to keep it's head in place when mining. (@TheDudeFromCI)
|
|
187
|
+
|
|
188
|
+
## 2.38.0
|
|
189
|
+
* Add bot.game.serverBrand property (@Karang)
|
|
190
|
+
* set extraInfos to false in blockIsNotEmpty (@mat-1)
|
|
191
|
+
* make the ChatMessage.toAnsi:lang argument optional (@Antonio32A)
|
|
192
|
+
* Fixed message types (@TheDudeFromCI)
|
|
193
|
+
* by default hideErrors is now true (@rom1504)
|
|
194
|
+
|
|
195
|
+
## 2.37.1
|
|
196
|
+
* Optimize lookAt promise behavior (@ph0t0shop)
|
|
197
|
+
|
|
198
|
+
## 2.37.0
|
|
199
|
+
* Promisify villager & Trader (thanks @ph0t0shop)
|
|
200
|
+
* protect against action id going over 32767 (@rom1504)
|
|
201
|
+
* fix incorrect handling of username definition (@rom1504)
|
|
202
|
+
|
|
203
|
+
## 2.36.0
|
|
204
|
+
* all async method now both return promises and take a callback (thanks @ph0t0shop for this great improvement)
|
|
205
|
+
|
|
206
|
+
## 2.35.0
|
|
207
|
+
* Extra position packet after TP
|
|
208
|
+
* Add blockAtCursor
|
|
209
|
+
* Deprecate blockInSight
|
|
210
|
+
* TS typing fixes
|
|
211
|
+
|
|
212
|
+
## 2.34.0
|
|
213
|
+
* 支持 1.16.4
|
|
214
|
+
|
|
215
|
+
## 2.33.0
|
|
216
|
+
* block_actions fix (thanks @SpikeThatMike)
|
|
217
|
+
* typescript fixes (thanks @TheDudeFromCI and @NotSugden)
|
|
218
|
+
* add uuid by objectUUID handling (thanks @Rob9315)
|
|
219
|
+
* fix bed packet (thanks @imharvol)
|
|
220
|
+
* better plugin handling (thanks @TheDudeFromCI)
|
|
221
|
+
|
|
222
|
+
## 2.32.0
|
|
223
|
+
* 支持 1.16.3 (感谢@GroobleDierne 和 @TheDudeFromCI)
|
|
224
|
+
* fix bug with entity width (thanks @TheDudeFromCI)
|
|
225
|
+
* Add ability to call openChest on shulker boxes (thanks @efunneko)
|
|
226
|
+
|
|
227
|
+
## 2.31.0
|
|
228
|
+
* Fix furnace and add tests (thanks @ImHarvol)
|
|
229
|
+
* Add offhand param to d.ts (thanks @TheDudeFromCI)
|
|
230
|
+
* Add hasAttackCooldown feature (thanks @TheDudeFromCI)
|
|
231
|
+
* Add type validation for bot.chat (thanks @BlueBurgersTDD)
|
|
232
|
+
* Add chat position to message event (thanks @larspapen)
|
|
233
|
+
|
|
234
|
+
## 2.30.0
|
|
235
|
+
* Add support for Barrel (#1344) (thanks @ImHarvol)
|
|
236
|
+
* Fix attack cooldown bug (thanks @TheDudeFromCI)
|
|
237
|
+
* Exposed getDestSlot (thanks @TheDudeFromCI)
|
|
238
|
+
* Simplify setCommandBlock arguments (thanks @ImHarvol)
|
|
239
|
+
* hide unknown transaction warning if hideErrors option is enabled
|
|
240
|
+
|
|
241
|
+
## 2.29.1
|
|
242
|
+
* fix findblock typescript def (thanks @TheDudeFromCI)
|
|
243
|
+
* fix setCommandBlock for recent versions (thanks @ImHarvol)
|
|
244
|
+
|
|
245
|
+
## 2.29.0
|
|
246
|
+
* Add hand parameter to activateItem (thanks @Karang)
|
|
247
|
+
* remove _chunkColumn from the api (bot.world should now be used)
|
|
248
|
+
* Handle MC|AdvCmd misspelling (thanks @ImHarvol)
|
|
249
|
+
|
|
250
|
+
## 2.28.1
|
|
251
|
+
* 修复 findBlocks (感谢 @Karang)
|
|
252
|
+
|
|
253
|
+
## 2.28.0
|
|
254
|
+
* 增加 nearestEntity function (感谢 @Karang)
|
|
255
|
+
|
|
256
|
+
## 2.27.0
|
|
257
|
+
* add heldItemChanged
|
|
258
|
+
|
|
259
|
+
## 2.26.0
|
|
260
|
+
* use and expose prismarine-world as bot.world
|
|
261
|
+
* add itemDrop event (thanks @ImHarvol)
|
|
262
|
+
* fix bot.fish callback (thanks @GroobleDierne)
|
|
263
|
+
* parse entity metadata for crouching (thanks @IdanHo)
|
|
264
|
+
* fix bot.time.day (thanks @Naomi-alt)
|
|
265
|
+
* improve find blocks options (thanks @Karang)
|
|
266
|
+
|
|
267
|
+
## 2.25.0
|
|
268
|
+
* emit chestLidMove (thanks @imharvol)
|
|
269
|
+
* add options for main hand selection (thanks @Colten-Covington)
|
|
270
|
+
* fix respawning columns issues (thanks @Karang)
|
|
271
|
+
|
|
272
|
+
## 2.24.0
|
|
273
|
+
* Fix getBlockAt when outside bounds
|
|
274
|
+
* Improve documentation and examples
|
|
275
|
+
* Add ability to change the skin parts of a bot (thanks @Naomi-alt)
|
|
276
|
+
|
|
277
|
+
## 2.23.0
|
|
278
|
+
* 1.16 support
|
|
279
|
+
* fix noteheard (thanks @Naomi-alt)
|
|
280
|
+
|
|
281
|
+
## 2.22.1
|
|
282
|
+
* better typedef (thanks @Konstantin)
|
|
283
|
+
* fix off by 1 error in findBlocks (thanks @Karang)
|
|
284
|
+
* physics.js look fix (thanks @thesourceoferror)
|
|
285
|
+
* fix chat message bracketing (thanks @Nurutomo)
|
|
286
|
+
* use prismarine-physics
|
|
287
|
+
|
|
288
|
+
## 2.22.0
|
|
289
|
+
* Improve digTime computation (thanks @Karang)
|
|
290
|
+
* expose blockEntity.raw (thanks @SiebeDW)
|
|
291
|
+
* improve typedef for find block options (thanks @TheDudeFromCI)
|
|
292
|
+
|
|
293
|
+
## 2.21.0
|
|
294
|
+
* don't log errors if hideErrors is true
|
|
295
|
+
|
|
296
|
+
## 2.20.0
|
|
297
|
+
* add extra infos option in find block
|
|
298
|
+
|
|
299
|
+
## 2.19.2
|
|
300
|
+
* fix ground up for 1.13->1.15
|
|
301
|
+
|
|
302
|
+
## 2.19.1
|
|
303
|
+
* 修复 find block (感谢 @Karang)
|
|
304
|
+
* improve sign parsing (thanks @cookiedragon234)
|
|
305
|
+
|
|
306
|
+
## 2.19.0
|
|
307
|
+
* much faster findBlock (thanks @Karang)
|
|
308
|
+
|
|
309
|
+
## 2.18.0
|
|
310
|
+
* fix bugs in lookAt and setQuickBarSlot
|
|
311
|
+
* add auto_totem example (thanks @AlexProgrammerDE)
|
|
312
|
+
* improve blockAt speed
|
|
313
|
+
|
|
314
|
+
## 2.17.0
|
|
315
|
+
* physics engine refactor (thanks @Karang)
|
|
316
|
+
* mcdata update for better 1.14 and 1.15 support
|
|
317
|
+
|
|
318
|
+
## 2.16.0
|
|
319
|
+
* use protodef compiler (thanks @Karang)
|
|
320
|
+
* off-hand support (thanks @Karang)
|
|
321
|
+
* fix type definitions (thanks @dada513)
|
|
322
|
+
|
|
323
|
+
## 2.15.0
|
|
324
|
+
* fix transfer bugs (thanks @Karang)
|
|
325
|
+
* add typescript definitions (thanks @IdanHo)
|
|
326
|
+
|
|
327
|
+
## 2.14.1
|
|
328
|
+
* fix openVillager
|
|
329
|
+
|
|
330
|
+
## 2.14.0
|
|
331
|
+
* 1.15 support
|
|
332
|
+
* russian translation (thanks @shketov)
|
|
333
|
+
|
|
334
|
+
## 2.13.0
|
|
335
|
+
* 1.14 support : more tests, refactored pwindows, feature flags (thanks @Karang)
|
|
336
|
+
* Look at the center of the face when placing block
|
|
337
|
+
* improve bot.sleep : don't sleep if mob are present (thanks @ImHarvol)
|
|
338
|
+
|
|
339
|
+
## 2.12.0
|
|
340
|
+
* 1.13 support (thanks @Karang, @hornta, @SiebeDW)
|
|
341
|
+
* better fishing support (thanks @hutu13879513663)
|
|
342
|
+
|
|
343
|
+
## 2.11.0
|
|
344
|
+
* Expose columns & blockEntities (thanks @SiebeDW)
|
|
345
|
+
* Create discord.js (thanks @SiebeDW)
|
|
346
|
+
* change amount of slots based on version (thanks @IdanHo)
|
|
347
|
+
* Fix 'respawn' event (thanks @ImHarvol)
|
|
348
|
+
* Add callback to creative set block (thanks @wvffle)
|
|
349
|
+
|
|
350
|
+
## 2.10.0
|
|
351
|
+
Lot of fixes from @wvffle in this release :
|
|
352
|
+
* more checks when digging
|
|
353
|
+
* expose a bot.swingArgm() function
|
|
354
|
+
* better toString to chat message
|
|
355
|
+
* fix handling of empty signs
|
|
356
|
+
* correct handling of entity metadata change
|
|
357
|
+
And some others :
|
|
358
|
+
* new tps plugin by @SiebeDW
|
|
359
|
+
* correct handling of chunk unloading by @IdanHo
|
|
360
|
+
|
|
361
|
+
## 2.9.6
|
|
362
|
+
* fix logErrors option
|
|
363
|
+
|
|
364
|
+
## 2.9.5
|
|
365
|
+
* fix logErrors
|
|
366
|
+
|
|
367
|
+
## 2.9.4
|
|
368
|
+
* enable catching and logging of errors by default
|
|
369
|
+
|
|
370
|
+
## 2.9.3
|
|
371
|
+
* fix typo in variable name actionId
|
|
372
|
+
|
|
373
|
+
## 2.9.2
|
|
374
|
+
* improve pushback (thanks @Vap0r1ze)
|
|
375
|
+
* more robust handling of tablist (thanks @wvffle)
|
|
376
|
+
* ignore (with a warning) transaction without previous click
|
|
377
|
+
|
|
378
|
+
## 2.9.1
|
|
379
|
+
* improve boss bar
|
|
380
|
+
* add checks in scoreboard implementation
|
|
381
|
+
|
|
382
|
+
## 2.9.0
|
|
383
|
+
|
|
384
|
+
* add universal chat patterns to support more chat plugins
|
|
385
|
+
|
|
386
|
+
## 2.8.1
|
|
387
|
+
|
|
388
|
+
* fix error on scoreboard removal
|
|
389
|
+
|
|
390
|
+
## 2.8.0
|
|
391
|
+
|
|
392
|
+
lot of new features from @wvffle :
|
|
393
|
+
|
|
394
|
+
* support for block entities
|
|
395
|
+
* improved block bars support
|
|
396
|
+
* add block in sight
|
|
397
|
+
* fix scoreboard support
|
|
398
|
+
* add eating support
|
|
399
|
+
* add tab complete support
|
|
400
|
+
* add fishing support
|
|
401
|
+
* better sign text support
|
|
402
|
+
* repl example
|
|
403
|
+
|
|
404
|
+
## 2.7.5
|
|
405
|
+
|
|
406
|
+
* improve basic find block a bit
|
|
407
|
+
|
|
408
|
+
## 2.7.4
|
|
409
|
+
|
|
410
|
+
* start the bot alive in all cases
|
|
411
|
+
* correct run speed and use it to limit the speed properly (thanks @CheezBarger)
|
|
412
|
+
* emit error instead of throwing when loading a chunk (thanks @ArcticZeroo)
|
|
413
|
+
|
|
414
|
+
## 2.7.3
|
|
415
|
+
|
|
416
|
+
* use docsify for docs
|
|
417
|
+
|
|
418
|
+
## 2.7.2
|
|
419
|
+
|
|
420
|
+
* don't do anything if transaction.action < 0 (fix for some non-vanilla plugins)
|
|
421
|
+
|
|
422
|
+
## 2.7.1
|
|
423
|
+
|
|
424
|
+
* include fixes from pchunk, protodef and mcdata
|
|
425
|
+
|
|
426
|
+
## 2.7.0
|
|
427
|
+
|
|
428
|
+
* fix cannot jump repeatedly
|
|
429
|
+
* fix spaces in chatmessage (thanks @Gjum)
|
|
430
|
+
* add bot.getControlStates (thanks @ArcticZeroo)
|
|
431
|
+
* Support end dimension (thanks @iRath96)
|
|
432
|
+
* Added sneaking option to controll states (thanks @Meldiron)
|
|
433
|
+
* add title event (thanks @yario-o)
|
|
434
|
+
* Update sound.js to include hardcoded sound effects (thanks @jeresuikkila)
|
|
435
|
+
* Support for the new launcher_profiles.json format (thanks @Amezylst)
|
|
436
|
+
* update api about checkTimeoutInterval
|
|
437
|
+
|
|
438
|
+
## 2.6.1
|
|
439
|
+
|
|
440
|
+
* fix chatmessage
|
|
441
|
+
* add plugins to bot options to be able to disable an internal plugin
|
|
442
|
+
|
|
443
|
+
## 2.6.0
|
|
444
|
+
|
|
445
|
+
* improve ChatMessage translation functionality (thanks @plexigras)
|
|
446
|
+
* added eslint
|
|
447
|
+
* es6
|
|
448
|
+
* fix autoversion in online mode
|
|
449
|
+
|
|
450
|
+
## 2.5.0
|
|
451
|
+
|
|
452
|
+
* don't swing arm when activating an entity
|
|
453
|
+
* new plugin loading api
|
|
454
|
+
|
|
455
|
+
## 2.4.1
|
|
456
|
+
|
|
457
|
+
* better 1.12 support
|
|
458
|
+
|
|
459
|
+
## 2.4.0
|
|
460
|
+
|
|
461
|
+
* auto version detection (thanks @plexigras)
|
|
462
|
+
|
|
463
|
+
## 2.3.0
|
|
464
|
+
|
|
465
|
+
* support version 1.12 (thanks @jonathanperret)
|
|
466
|
+
* add example to use minecraft session file for auth (thanks @plexigras)
|
|
467
|
+
|
|
468
|
+
## 2.2.0
|
|
469
|
+
|
|
470
|
+
* added book writing plugin (thanks @plexigras)
|
|
471
|
+
* Make sure bot.time.day is between 0 and 24000 (thanks @roblabla)
|
|
472
|
+
* Pass skyLightSent to Chunk.load (thanks @iRath96)
|
|
473
|
+
|
|
474
|
+
## 2.1.1
|
|
475
|
+
|
|
476
|
+
* use protodef aliases to properly define channels
|
|
477
|
+
|
|
478
|
+
## 2.1.0
|
|
479
|
+
|
|
480
|
+
* add bot.canSeeBlock (thanks @Nixes)
|
|
481
|
+
* handle unknown entities and entities sent with their internal id
|
|
482
|
+
* add bloodhound to plugin list
|
|
483
|
+
* fix chat hoverEvent for 1.9
|
|
484
|
+
|
|
485
|
+
## 2.0.0
|
|
486
|
+
|
|
487
|
+
* added support for minecraft chests (thanks @plexigras)
|
|
488
|
+
* cross version support : 1.8, 1.9, 1.10 and 1.11 now supported
|
|
489
|
+
* [BREAKING] prismarine classes (Block, Entity, Recipe, ...) are now available only by requiring them, not in mineflayer.X. It was required to make cross version possible. minecraft-data is also to be required directly and not available as mineflayer.blocks. The code depending on this should be updated, hence the major version.
|
|
490
|
+
|
|
491
|
+
## 1.8.0
|
|
492
|
+
|
|
493
|
+
* add actionBar event (thanks @ArcticZeroo)
|
|
494
|
+
* added support for villager trading (thanks @plexigras)
|
|
495
|
+
|
|
496
|
+
## 1.7.5
|
|
497
|
+
|
|
498
|
+
* bump dependencies
|
|
499
|
+
|
|
500
|
+
## 1.7.4
|
|
501
|
+
|
|
502
|
+
* update minecraft-data
|
|
503
|
+
|
|
504
|
+
## 1.7.3
|
|
505
|
+
|
|
506
|
+
* add callback to activateBlock
|
|
507
|
+
|
|
508
|
+
## 1.7.2
|
|
509
|
+
|
|
510
|
+
* update dependencies
|
|
511
|
+
|
|
512
|
+
## 1.7.1
|
|
513
|
+
|
|
514
|
+
* update minecraft-protocol, minecraft-data and protodef
|
|
515
|
+
|
|
516
|
+
## 1.7.0
|
|
517
|
+
|
|
518
|
+
* listen for disconnect in login phase (thanks @deathcap)
|
|
519
|
+
* fix multi_block_change (thanks @Corgano)
|
|
520
|
+
* remove chat filter : fix utf8 in chat
|
|
521
|
+
* add extra tolerance for malformed sign packets (thanks @G07cha)
|
|
522
|
+
* adapt to new minecraft data entities format
|
|
523
|
+
* update minecraft-protocol to 0.17.2
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
## 1.6.0
|
|
527
|
+
|
|
528
|
+
* add functionalities to use scoreboard (thanks @jakibaki)
|
|
529
|
+
* update to minecraft-data 0.16.3
|
|
530
|
+
* 50 -> 20 tps for physics
|
|
531
|
+
* Remove requireindex, for browserify support
|
|
532
|
+
* add bot.setCommandBlock
|
|
533
|
+
|
|
534
|
+
## 1.5.3
|
|
535
|
+
|
|
536
|
+
* fix entity_status
|
|
537
|
+
|
|
538
|
+
## 1.5.2
|
|
539
|
+
|
|
540
|
+
* use prismarine-recipe and prismarine-windows
|
|
541
|
+
* use require-self to be able to do require('mineflayer') in the examples
|
|
542
|
+
* fix viewDistance sending
|
|
543
|
+
|
|
544
|
+
## 1.5.1
|
|
545
|
+
|
|
546
|
+
* add checkTimeoutInterval to createBot
|
|
547
|
+
|
|
548
|
+
## 1.5.0
|
|
549
|
+
|
|
550
|
+
* fix achievements parsing in toString()
|
|
551
|
+
* update to nmp 0.16
|
|
552
|
+
* use prismarine-item
|
|
553
|
+
* add example to run multiple bots
|
|
554
|
+
* uuid is now a dashed string
|
|
555
|
+
* remove digging interruption : this doesn't happen in 1.8 servers (and caused problem in some spigot servers)
|
|
556
|
+
|
|
557
|
+
## 1.4.0
|
|
558
|
+
|
|
559
|
+
* improve placeBlock : now use lookAt before placing and has a callback
|
|
560
|
+
* fix soulsand speed
|
|
561
|
+
* use new multi-version version of (node-)minecraft-data
|
|
562
|
+
|
|
563
|
+
## 1.3.0
|
|
564
|
+
|
|
565
|
+
* swing arm on placing a block, look at center of block when activating a block (thanks gipsy-king)
|
|
566
|
+
* refactor examples (thanks Pietro210)
|
|
567
|
+
* add clickWindow support to ContainerWindow (thanks Gnomesley)
|
|
568
|
+
* fix skylight in the nether
|
|
569
|
+
* update node-mojangson to display unparsed text in case of error
|
|
570
|
+
|
|
571
|
+
## 1.2.1
|
|
572
|
+
|
|
573
|
+
* Prevent crash when an unknown entity is spawned
|
|
574
|
+
* add createBot to api.md
|
|
575
|
+
|
|
576
|
+
## 1.2.0
|
|
577
|
+
|
|
578
|
+
* update minecraft-protocol to 0.14.0 : several fixes (error are now catchable, packets are in-order, packets fixes, etc.)
|
|
579
|
+
* add ContainerWindow to support non-Vanilla plugins and add /invsee example (thanks Pietro210)
|
|
580
|
+
* add a callback to bot.look and bot.lookAt
|
|
581
|
+
* when receiving a remove effect packet : if the corresponding effect doesn't exist yet, emit an event with just the id of the effect (thanks Pietro210)
|
|
582
|
+
* swing arm immediately when digging (thanks gipsy-king)
|
|
583
|
+
* now updates bot.entity.heldItem when bot.heldItem is updated
|
|
584
|
+
* fix cli args in examples
|
|
585
|
+
* add forcedMove event
|
|
586
|
+
* fix equipment api
|
|
587
|
+
* new minecraft data version : better metadata handling
|
|
588
|
+
|
|
589
|
+
## 1.1.2
|
|
590
|
+
|
|
591
|
+
* a small fix in chat.js
|
|
592
|
+
* add a licence file
|
|
593
|
+
|
|
594
|
+
## 1.1.1
|
|
595
|
+
|
|
596
|
+
* bot.transfer is faster
|
|
597
|
+
* fix arm_animation
|
|
598
|
+
* using mojangson parser for chat hoverevent
|
|
599
|
+
* add chat patterns for unidentified chat messages
|
|
600
|
+
* fix player leaving
|
|
601
|
+
|
|
602
|
+
## 1.1.0
|
|
603
|
+
|
|
604
|
+
Lot of fixes and improvements in this version in order to support mineflayer 1.8.3, including :
|
|
605
|
+
|
|
606
|
+
* minecraft 1.8.3 support
|
|
607
|
+
* update minecraft protocol to 0.13.4
|
|
608
|
+
* move enums data to minecraft-data
|
|
609
|
+
* add automatic testing with a vanilla minecraft server on circle ci
|
|
610
|
+
* add argv arguments to examples
|
|
611
|
+
* refactor inventory.js
|
|
612
|
+
* use new recipe format handling metadata better
|
|
613
|
+
* fix lot of things to support 1.8.3 including :
|
|
614
|
+
* block format change
|
|
615
|
+
* position change : y is now always at the feet of the bot
|
|
616
|
+
|
|
617
|
+
## 1.0.0
|
|
618
|
+
|
|
619
|
+
* updated minecraft protocol to 0.11 (Minecraft 1.6.2 support).
|
|
620
|
+
* small changes in the arguments of some events: `chat`, `whisper` and `message`. See [doc/api.md](https://github.com/andrewrk/mineflayer/blob/master/doc/api.md).
|
|
621
|
+
|
|
622
|
+
## 0.1.1
|
|
623
|
+
|
|
624
|
+
* updated minecraft protocol to 0.10 (Minecraft 1.5.2 support).
|
|
625
|
+
|
|
626
|
+
## 0.1.0
|
|
627
|
+
|
|
628
|
+
Huge thanks to [zuazo](https://github.com/zuazo) for debugging and
|
|
629
|
+
eliminating the problems with 1.5.1 protocol update and node 0.10 update!
|
|
630
|
+
|
|
631
|
+
* update minecraft-protocol to 0.9.0 - includes many fixes
|
|
632
|
+
* blocks: fix buffer length assertion error (thanks zuazo)
|
|
633
|
+
* physics: fix assertion error (thanks zuazo)
|
|
634
|
+
|
|
635
|
+
## 0.0.35
|
|
636
|
+
|
|
637
|
+
* inventory: window clicking waits a bit if you have just dug
|
|
638
|
+
fixes a rejected transaction race condition.
|
|
639
|
+
|
|
640
|
+
## 0.0.34
|
|
641
|
+
|
|
642
|
+
* inventory: equipping makes the quick bar a basic LRU cache.
|
|
643
|
+
This can alleviate some race conditions when trying to equip a
|
|
644
|
+
different tool immediately after digging.
|
|
645
|
+
|
|
646
|
+
## 0.0.33
|
|
647
|
+
|
|
648
|
+
* crafting: fix shapeless recipe support
|
|
649
|
+
* inventory: fix several instances which could cause transaction rejected
|
|
650
|
+
* add missing recipes (thanks rom1504)
|
|
651
|
+
* `recipe.delta` data structure changed.
|
|
652
|
+
|
|
653
|
+
## 0.0.32
|
|
654
|
+
|
|
655
|
+
* digging: fix crash when not holding a tool
|
|
656
|
+
|
|
657
|
+
## 0.0.31
|
|
658
|
+
|
|
659
|
+
* only stationary water has a negative effect on digging
|
|
660
|
+
* digging: if you dig while already digging, instead of crashing,
|
|
661
|
+
mineflayer will cancel the in progress dig and start the new one.
|
|
662
|
+
* digging: in creative mode dig time is 0
|
|
663
|
+
* digging interruption error has a code so you can check for it
|
|
664
|
+
|
|
665
|
+
## 0.0.30
|
|
666
|
+
|
|
667
|
+
* expose the materials enum as `mineflayer.materials`
|
|
668
|
+
|
|
669
|
+
## 0.0.29
|
|
670
|
+
|
|
671
|
+
* digging is faster and has less bugs
|
|
672
|
+
* you can stop digging with `bot.stopDigging()`.
|
|
673
|
+
* `bot.dig(block, [timeout], [callback])` changed to `bot.dig(block, [callback])`.
|
|
674
|
+
* add `bot.digTime(block)`
|
|
675
|
+
* add `block.material`
|
|
676
|
+
* add `block.harvestTools`
|
|
677
|
+
* add `window.emptySlotCount()`
|
|
678
|
+
* block and item enums are cleaned up. Every block and item has an
|
|
679
|
+
unambiguous `name` and `displayName`.
|
|
680
|
+
|
|
681
|
+
## 0.0.28
|
|
682
|
+
|
|
683
|
+
* add missing recipe for wooden planks
|
|
684
|
+
* fix various crafting and inventory bugs
|
|
685
|
+
* unequip works with hand as a destination
|
|
686
|
+
|
|
687
|
+
## 0.0.27
|
|
688
|
+
|
|
689
|
+
* add `mineflayer.Location` which can help you locate chunk boundaries
|
|
690
|
+
* `entity.metadata` is formatted as an object instead of an array for
|
|
691
|
+
easier access
|
|
692
|
+
* `canDigBlock` returns `false` if `block` is `null` instead of crashing.
|
|
693
|
+
|
|
694
|
+
## 0.0.26
|
|
695
|
+
|
|
696
|
+
* fix `bot.heldItem` being wrong sometimes
|
|
697
|
+
* water and lava are not solid
|
|
698
|
+
|
|
699
|
+
## 0.0.25
|
|
700
|
+
|
|
701
|
+
* `bot.equip` - wait at least a tick before calling callback
|
|
702
|
+
|
|
703
|
+
## 0.0.24
|
|
704
|
+
|
|
705
|
+
* fix digging leaves not calling callback.
|
|
706
|
+
|
|
707
|
+
## 0.0.23
|
|
708
|
+
|
|
709
|
+
* add enchantment table support. See `examples/chest.js` for an example.
|
|
710
|
+
* rename `bot.tell` to `bot.whisper` to be consistent with 'whisper' event.
|
|
711
|
+
(thanks Darthfett)
|
|
712
|
+
|
|
713
|
+
## 0.0.22
|
|
714
|
+
|
|
715
|
+
* update vec3 to 0.1.3
|
|
716
|
+
* add "whisper" chat event
|
|
717
|
+
|
|
718
|
+
## 0.0.21
|
|
719
|
+
|
|
720
|
+
This release is feature-complete with the old
|
|
721
|
+
[C++/Qt based version of mineflayer](https://github.com/andrewrk/mineflayer/blob/cpp-qt-end).
|
|
722
|
+
|
|
723
|
+
* add `bot.activateItem()`
|
|
724
|
+
* add `bot.deactivateItem()`
|
|
725
|
+
* add `bot.useOn(targetEntity)`
|
|
726
|
+
|
|
727
|
+
## 0.0.20
|
|
728
|
+
|
|
729
|
+
* add dispenser support
|
|
730
|
+
- add `mineflayer.Dispenser`
|
|
731
|
+
- add `bot.openDispenser(dispenserBlock)`
|
|
732
|
+
|
|
733
|
+
## 0.0.19
|
|
734
|
+
|
|
735
|
+
* add furnace support
|
|
736
|
+
- add `mineflayer.Furnace`
|
|
737
|
+
- add `bot.openFurnace(furnaceBlock)`
|
|
738
|
+
* `mineflayer.Chest`: "update" event renamed to "updateSlot"
|
|
739
|
+
* `bot.equip(itemType, destination, [callback])` changed to
|
|
740
|
+
`bot.equip(item, destination, [callback])`. Use `bot.inventory.items()`
|
|
741
|
+
to get a list of what items you can choose from to equip.
|
|
742
|
+
* fix `bot.openChest` not working for ender chests
|
|
743
|
+
* fix incorrectly scaled fuel percentage
|
|
744
|
+
* upgrade to minecraft-protocol 0.7.0
|
|
745
|
+
- `mineflayer.createBot` no longer takes a `email` argument.
|
|
746
|
+
- The `username` and `password` arguments are used to authenticate with the
|
|
747
|
+
official minecraft servers and determine the case-correct username. If
|
|
748
|
+
you have migrated your user account to a mojang login, `username` looks
|
|
749
|
+
like an email address.
|
|
750
|
+
- If you leave out the `password` argument, `username` is used to connect
|
|
751
|
+
directly to the server. In this case you will get kicked if the server is
|
|
752
|
+
in online mode.
|
|
753
|
+
|
|
754
|
+
## 0.0.18
|
|
755
|
+
|
|
756
|
+
* fix crash for some block updates
|
|
757
|
+
|
|
758
|
+
## 0.0.17
|
|
759
|
+
|
|
760
|
+
recalled
|
|
761
|
+
|
|
762
|
+
## 0.0.16
|
|
763
|
+
|
|
764
|
+
* add chest support
|
|
765
|
+
- add `mineflayer.Chest`
|
|
766
|
+
- add `bot.openChest(chestBlock)`
|
|
767
|
+
* `block.meta` renamed to `block.metadata`
|
|
768
|
+
* `item.meta` renamed to `item.metadata`
|
|
769
|
+
* fix crash when player causes entityGone message
|
|
770
|
+
* update to minecraft-protocol 0.6.6
|
|
771
|
+
|
|
772
|
+
## 0.0.15
|
|
773
|
+
|
|
774
|
+
* fix `bot.sleep` not working at all
|
|
775
|
+
* add `bot.isSleeping`
|
|
776
|
+
* add "sleep" event
|
|
777
|
+
* add "wake" event
|
|
778
|
+
* `bot.sleep(bedPoint)` changed to `bot.sleep(bedBlock)`
|
|
779
|
+
* fix `mineflayer.Recipe` not exposed
|
|
780
|
+
|
|
781
|
+
## 0.0.14
|
|
782
|
+
|
|
783
|
+
* add crafting support
|
|
784
|
+
- add `mineflayer.windows`
|
|
785
|
+
- add `mineflayer.Recipe`
|
|
786
|
+
- `bot.inventory` is now an instance of `InventoryWindow`
|
|
787
|
+
- `bot.inventory.count` is no longer a map of id to count.
|
|
788
|
+
`Window` instances have a `count(itemType, [metadata])` method.
|
|
789
|
+
- `bot.inventory.quickBarSlot` moved to `bot.quickBarSlot`.
|
|
790
|
+
- add `'windowOpen' (window)` event
|
|
791
|
+
- add `'windowClose' (window)` event
|
|
792
|
+
- add `bot.craft(recipe, count, craftingTable, [callback])`
|
|
793
|
+
- add `bot.recipesFor(itemType, metadata, minResultCount, craftingTable)`
|
|
794
|
+
* `block.pos` renamed to `block.position`.
|
|
795
|
+
* `'blockUpdate' (point)` event signature changed to
|
|
796
|
+
`'blockUpdate' (oldBlock, newBlock)`
|
|
797
|
+
* `'blockUpdate:(x, y, z)'` event signature changed to
|
|
798
|
+
`'blockUpdate:(x, y, z)' (oldBlock, newBlock)`
|
|
799
|
+
* add `'diggingAborted' (block)` event
|
|
800
|
+
* add `bot.unequip(destination, [callback])`
|
|
801
|
+
* add `bot.toss(itemType, metadata, count, [callback])`
|
|
802
|
+
* `bot.startDigging(block)` changed to `bot.dig(block, [timeout], [callback])`.
|
|
803
|
+
* add `bot.activateBlock(block)`
|
|
804
|
+
|
|
805
|
+
## 0.0.13
|
|
806
|
+
|
|
807
|
+
* fix `bot.equip` when already equipping the item
|
|
808
|
+
* fix some incorrect block physics
|
|
809
|
+
* add `mineflayer.recipes` enum
|
|
810
|
+
* fix crash when digging at a high elevation
|
|
811
|
+
|
|
812
|
+
## 0.0.12
|
|
813
|
+
|
|
814
|
+
* add inventory support
|
|
815
|
+
- add `Item` class which is exposed on `mineflayer`
|
|
816
|
+
- add `bot.inventory` (see docs for more details)
|
|
817
|
+
- add `bot.equip(itemType, destination, [callback])`
|
|
818
|
+
- add `bot.tossStack(item, [callback])`
|
|
819
|
+
* add digging support
|
|
820
|
+
- add `bot.startDigging(block)`
|
|
821
|
+
- add `bot.canDigBlock(block)`
|
|
822
|
+
* blocks: add `blockUpdate:(x, y, z)` event.
|
|
823
|
+
* add building support
|
|
824
|
+
- add `bot.placeBlock(referenceBlock, faceVector)`
|
|
825
|
+
* add `block.painting`
|
|
826
|
+
* add `Painting` class which is exposed on `mineflayer`
|
|
827
|
+
* add experience orb support
|
|
828
|
+
- `entity.type` can be `orb` now
|
|
829
|
+
- `entity.count` is how much experience you get for collecting it
|
|
830
|
+
|
|
831
|
+
## 0.0.11
|
|
832
|
+
|
|
833
|
+
* physics: skip frames instead of glitching out
|
|
834
|
+
* default bot name to Player - `createBot` can take no arguments now.
|
|
835
|
+
|
|
836
|
+
## 0.0.10
|
|
837
|
+
|
|
838
|
+
* physics: fix bug: walking too slowly on Z axis
|
|
839
|
+
|
|
840
|
+
## 0.0.9
|
|
841
|
+
|
|
842
|
+
* ability to sprint (thanks ruan942)
|
|
843
|
+
* fix color code stripping (thanks rom1504)
|
|
844
|
+
* event "onNonSpokenChat" deleted
|
|
845
|
+
* new event "message" which fires for all messages
|
|
846
|
+
* `bot.chat` no longer checks for "/tell" at the beginning
|
|
847
|
+
* add `bot.tell(username, message)` method
|
|
848
|
+
* fix crash when an entity effect occurs
|
|
849
|
+
|
|
850
|
+
## 0.0.8
|
|
851
|
+
|
|
852
|
+
* chat: no longer suppress "chat" events for your own chat (thanks Darthfett).
|
|
853
|
+
* ability to mount / dismount vehicles and attack
|
|
854
|
+
* physics: fix tall grass and dead bushes treated as solid
|
|
855
|
+
* fix "respawn" event firing twice sometimes
|
|
856
|
+
* remove `bot.spawn()` and `autoSpawn` option. auto spawn is now mandatory.
|
|
857
|
+
* fix sending spawn packet twice on init
|
|
858
|
+
* fix bots spawning with their heads on backwards
|
|
859
|
+
* fix bots jumping when they get hit
|
|
860
|
+
* update player heights when they crouch
|
|
861
|
+
* add support for signs: `block.signText` and `bot.updateSign(block, text)`
|
|
862
|
+
|
|
863
|
+
## 0.0.7
|
|
864
|
+
|
|
865
|
+
* add `bot.time.day` and `bot.time.age` and "time" event
|
|
866
|
+
* add `bot.entities` which is a map of the entities around you
|
|
867
|
+
* add `bot.look(yaw, pitch, force)` and `bot.lookAt(point, force)`
|
|
868
|
+
|
|
869
|
+
## 0.0.6
|
|
870
|
+
|
|
871
|
+
* add a physics engine which understands gravity
|
|
872
|
+
* add jumper example, jumps whenever you chat
|
|
873
|
+
* add `respawn` event which fires when you die or change dimensions
|
|
874
|
+
* Block instances have a `boundingBox` property, which is currently either
|
|
875
|
+
`solid` or `empty`.
|
|
876
|
+
* fix `game` event to fire correctly
|
|
877
|
+
* `bot.game.spawnPoint` moved to `bot.spawnPoint`.
|
|
878
|
+
* `bot.game.players` moved to `bot.players`.
|
|
879
|
+
* `bot.quit` has a default reason of "disconnect.quitting" (thanks Darthfett)
|
|
880
|
+
|
|
881
|
+
## 0.0.5
|
|
882
|
+
|
|
883
|
+
* unload chunks when changing dimensions
|
|
884
|
+
* blocks: handle all forms of block changing so that `blockAt` is always
|
|
885
|
+
accurate.
|
|
886
|
+
|
|
887
|
+
## 0.0.4
|
|
888
|
+
|
|
889
|
+
* expose Block, Biome, and Entity
|
|
890
|
+
|
|
891
|
+
## 0.0.3
|
|
892
|
+
|
|
893
|
+
* add `bot.blockAt(point)` which returns a `Block`
|
|
894
|
+
* add `mineflayer.blocks`, `mineflayer.biomes`, and `mineflayer.items`
|
|
895
|
+
* 添加机器人 `chunk` 事件
|
|
896
|
+
* 修复`spawn` 事件和 `settings.showCape`
|
|
897
|
+
* added chatterbox example
|
|
898
|
+
* changed `entityDetach` event to have a vehicle argument
|
|
899
|
+
* changed `entityEffectEnd` event to have an effect argument
|
|
900
|
+
instead of `effectId`
|
|
901
|
+
* fix prefixes in pseudos in chat. (thanks rom1504)
|
|
902
|
+
* update vec3 to 0.1.0 which uses euclidean modulus
|
|
903
|
+
|
|
904
|
+
## 0.0.2
|
|
905
|
+
|
|
906
|
+
* 增加 bot.game.spawnPoint
|
|
907
|
+
* 增加 spawn 支持
|
|
908
|
+
* 增加 rain 支持
|
|
909
|
+
* 增加 support for getting kicked
|
|
910
|
+
* 增加 settings 支持
|
|
911
|
+
* 增加experience support
|
|
912
|
+
* 增加 bed 支持
|
|
913
|
+
* health status knowledge
|
|
914
|
+
* 增加实体跟踪API
|