Commit graph

30 commits

Author SHA1 Message Date
Romain Beaumont
43b665bb84
update to standard 12 2018-11-25 16:31:55 +01:00
Romain Beaumont
f0cdc3bc23
add teleportId 2018-05-25 23:20:53 +02:00
Romain Beaumont
0dabd933e2
fix delta support in updatePositions for 1.8 2018-05-25 00:44:08 +02:00
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
mhsjlw
44f0024cc6 Add standard linting 2018-05-13 09:26:48 -04:00
Romain Beaumont
1d882c4af9 some webstorm found fixes 2015-12-18 14:27:36 +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
DemiPixel
d269b0a49d Fix a few things for FX 2015-12-13 19:35:13 -08:00
DemiPixel
7d062ad169 Make effects ends, screw player abilities 2015-12-13 16:20:38 -08:00
DemiPixel
0adfc20a1f Continuing attempt to implement abilities 2015-12-13 16:20:38 -08:00
DemiPixel
0092af247e Start of implementing player abilities 2015-12-13 16:20:37 -08:00
DemiPixel
b7aea8251f Fix tp, updatePosition, and tests 2015-12-10 11:20:17 -08:00
DemiPixel
cbb2068454 Made /help not shit 2015-12-09 23:04:57 -08:00
DemiPixel
fe2f220f10 Big changes to player/entity.sendPosition and entity/player.teleport. Not fully working yet. 2015-12-09 23:04:57 -08:00
DemiPixel
67af4a8144 Fix tp and setblock, implement relative position function, throw errors instead of returning, catch errors and display error 2015-12-09 23:04:57 -08:00
DemiPixel
127ef3c777 Add ~ tp /tp, small fixes 2015-12-05 21:24:38 -08:00
Romain Beaumont
6ab320e3bc sendRelativePositionChange needs to be async because of behavior use
not sure if that behavior thingy has its place in that function, I think 'move' is not really a behavior at all.
'letPlayerMove' would be a normal behavior and it would be in sendRelativePositionChange.
Making plugins able to break function is not at all a good idea imho.
2015-12-06 04:39:09 +01:00
azastrael
bb75c6c1a0 Gona kill myself . . . 2015-12-06 04:19:15 +01:00
azastrael
d334fc486c Crying right now . . . 2015-12-06 04:17:19 +01:00
azastrael
3849de3aa3 Try number 42. 2015-12-06 04:13:30 +01:00
Romain Beaumont
b5d22e57f9 improve code with webstorm suggestion + split entities.js into spawn.js and other files 2015-11-28 18:23:26 +01:00
DemiPixel
93ab42152c Add behaviors, edit docs a TON (YOU'RE WELCOME) 2015-11-22 18:35:33 -08:00
DemiPixel
3ba46f0e97 Adding behaviors 2015-11-22 18:35:33 -08:00
DemiPixel
8215985f7f Fix a lot of communication things, added lots of semicolons, started on entity knockback (hehe, doesn't work well, needs improvement) 2015-11-20 13:52:19 -08:00
DemiPixel
180799e045 Attempting to convert Player into Entity 2015-11-19 17:17:33 -08:00
Romain Beaumont
4cefdedf75 improve entity movement a little bit 2015-11-17 00:42:39 +01:00
Romain Beaumont
f522dfac97 use Vec3 correctly + move commands in the related plugins 2015-11-16 22:22:58 +01:00
Romain Beaumont
9bcbb991bb serv, player -> player,serv because serv is often not needed 2015-11-16 21:24:19 +01:00
Romain Beaumont
a1a260c1da move some of entities.js in other files 2015-11-16 21:11:20 +01:00
Romain Beaumont
39dc37f94d put together player plugins and server plugins 2015-11-16 20:23:09 +01:00
Renamed from src/lib/playerPlugins/updatePositions.js (Browse further)