Romain Beaumont
81d6cca4f1
add metadata when placing a block, progress on #9
2015-10-26 21:32:53 +01:00
Romain Beaumont
888fa21b7b
some more es6 arrows
2015-10-26 02:40:23 +01:00
Romain Beaumont
accb742c7f
add back server.setBlock
2015-10-26 02:28:07 +01:00
Romain Beaumont
1a58da904c
more es6 refactoring : use destructing and more arrow functions
2015-10-26 01:53:07 +01:00
Romain Beaumont
a50642967b
use more es6 arrow function, and directly define the player.f functions instead of defining the function then assigning it
2015-10-26 01:15:21 +01:00
Romain Beaumont
2a3b8a157b
add player.spawnAPlayer, player.despawnPlayers, player.updateAndSpawnNearbyPlayers, automatically spawn and despawn players when getting closer or far
2015-10-25 23:26:04 +01:00
Romain Beaumont
c2b1424743
serv.setBlock -> player.setBlock
2015-10-25 21:24:37 +01:00
Romain Beaumont
e3b7ad569b
fix stuff related to changeWorld
...
* use writeOthersNearby everywhere
* create player.playerViewDistance
* put toFixedPosition in vec3 prototype
* fix changeWorld (use the same function than in login)
* use entity_destroy in changeWorld
* sendPosition, not setPosition
* disable pregenWorld : it just makes everything slow
2015-10-25 21:03:02 +01:00
DemiPixel
1917165caf
Change serv.world to serv.worlds. Added playerPlugins/world.js and moved a lot of stuff from login.js there. Generating multiple worlds works and moving players there works as well. A few issues here and there.
2015-10-24 16:56:28 -07:00
Romain Beaumont
a79181b27e
go to es6 + use real prismarine-chunk and prismarine-world
2015-10-02 00:12:09 +02:00