Romain Beaumont
2e749ff49f
move to normal position, fix #40 + multi version for position for 1.8 and 1.12
...
normal position is now possible because I understood it's necessary
to stored the last sent position in order to compensate for the loss
of precision next time a relative position packet is sent
I introduced a features.json which makes it possible to describe
high level differences between version and use that to handle multi version code
2018-05-21 00:04:19 +02:00
Romain Beaumont
c01f9dcfca
chunk unloading for 1.12 and 1.8
2018-05-20 15:19:51 +02:00
Romain Beaumont
48be4f2266
bring (static) multi version support to everything else + fix some formatting
2018-05-13 20:21:23 +02:00
mhsjlw
44f0024cc6
Add standard linting
2018-05-13 09:26:48 -04:00
mhsjlw
241cc0e014
Fix requireindex and mineflayer.js
2018-02-06 22:24:20 -05:00
Romain Beaumont
6b365948ab
unhandledRejection in app.js
2016-03-19 16:22:32 +01:00
Romain Beaumont
8c4406804e
use const and let instead of var
...
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2015-12-17 11:36:43 +01:00
Romain Beaumont
539b9c1314
implement portal detection and use it when flint and steel is used
...
currently places cactus instead of nether block because nether block seems to require the multi block change packet
lot of tests are already there, but some more need to be added, it seems some cases don't work (when the portal have edges it seems)
2015-12-12 06:45:39 +01:00
Romain Beaumont
72c91c50e0
make tests independent : do beforeEach instead of before to initialize the server/bots
2015-12-11 13:49:03 +01:00
Romain Beaumont
c3bef15214
UserError.js -> user_error.js (js style)
2015-12-11 02:11:14 +01:00
DemiPixel
b7aea8251f
Fix tp, updatePosition, and tests
2015-12-10 11:20:17 -08:00
DemiPixel
f38ea36c55
Make UserError in index.js
2015-12-10 00:14:29 -08:00
Romain Beaumont
ad7253d36d
put experience pure functions in a lib and adapt the doc
2015-12-10 01:47:57 +01:00
Romain Beaumont
865327b482
use require-self for better consistency with external plugins
...
require("flying-squid").someLib instead of require("../someLib")
2015-12-10 01:25:33 +01:00
DemiPixel
a68b10bfa0
Change to async emits
2015-11-23 11:23:50 -08:00
DemiPixel
cb88a5cbbb
Lots and lots and lots of changes... Plugins begin again!
2015-11-21 14:30:16 -08:00
Romain Beaumont
9bcbb991bb
serv, player -> player,serv because serv is often not needed
2015-11-16 21:24:19 +01:00
Romain Beaumont
39dc37f94d
put together player plugins and server plugins
2015-11-16 20:23:09 +01:00
Romain Beaumont
73a18ef863
use an es6 class for the player
2015-10-26 02:59:37 +01:00
Romain Beaumont
733ca45a46
use a class for MCServer
2015-10-26 02:55:08 +01:00
Romain Beaumont
a79181b27e
go to es6 + use real prismarine-chunk and prismarine-world
2015-10-02 00:12:09 +02:00