Commit graph

345 commits

Author SHA1 Message Date
Romain Beaumont
af3cfeda51 fix place lime wool bug (use Item.fromNotch) 2015-11-28 01:48:54 +01:00
Romain Beaumont
6d098deb23 convert coords to int, fix chunk unload bug (on node 0.10) 2015-11-26 18:04:13 +01:00
Romain Beaumont
7f47dacc60 add a server setting view-distance, and take the min of that settings and the player settings to get the distance to send chunks
I experimented with vanilla, and its "MultiplayerChunkCache" indicates this behavior for a vanilla server
progress on #127
2015-11-26 01:32:35 +01:00
Romain Beaumont
fb5450e3ca unload chunks, progress on #127 2015-11-26 01:08:10 +01:00
Romain Beaumont
d1c1c9d77f close the server when the tests end 2015-11-25 20:23:45 +01:00
Romain Beaumont
ddd38e148a fix settings, cleanup logs (fix #125) 2015-11-25 19:49:38 +01:00
Romain Beaumont
fe3afd1ce0 set a different port for the server with mineflayer test 2015-11-25 02:59:09 +01:00
Romain Beaumont
44d721d2a5 add a few tests based on mineflayer 2015-11-25 02:46:32 +01:00
Romain Beaumont
82dbd722fd most objects don't despawn and don't get picked up, fix #121 2015-11-25 00:52:49 +01:00
Romain Beaumont
f250e4b2a4 fix chunk sending, fix #124 2015-11-25 00:46:56 +01:00
Romain Beaumont
804ddee7c1 Merge pull request #123 from 109C/master
Disable shift clicking
2015-11-25 00:12:07 +01:00
C109
69379d75e4 Not even shift clicking works... 2015-11-24 18:09:55 -05:00
Romain Beaumont
77b326ffee Merge pull request #122 from 109C/master
No more crashes when using uniplemented windows.js features
2015-11-25 00:06:22 +01:00
C109
d5a8acbe3b No more crashes 2015-11-24 18:02:32 -05:00
Romain Beaumont
58193cb37e Merge pull request #116 from 109C/master
Add survival inventory handling for players
2015-11-24 23:43:02 +01:00
Romain Beaumont
5bff660bbe Merge pull request #115 from demipixel/BEHAVIORS
A
2015-11-24 23:41:52 +01:00
DemiPixel
8d9eb32073 Fix crashing for module plugins 2015-11-24 14:35:07 -08:00
DemiPixel
483269db4c Added forceCancelDig and some other stuff 2015-11-23 19:27:35 -08:00
DemiPixel
0355195cd9 No more crashes, update API, add more stuff 2015-11-23 16:27:35 -08:00
DemiPixel
6a9281c195 Add more to "dug" behavior and add "breakAnimation" behavior 2015-11-23 16:12:51 -08:00
C109
c01c0b9cb4 Items now stack 2015-11-23 18:21:13 -05:00
DemiPixel
565309846b Fix packages, add catch to commands 2015-11-23 13:54:23 -08:00
DemiPixel
a68b10bfa0 Change to async emits 2015-11-23 11:23:50 -08:00
DemiPixel
fa99c91551 Small fixes 2015-11-23 09:25:59 -08:00
C109
06eda4e2fc More skeletal code 2015-11-23 11:00:09 -05:00
C109
c1571c1bd3 Skeletal code for survival inventory clicks 2015-11-23 10:22:15 -05:00
DemiPixel
de59be23ad Trying to fix sound, no success so far 2015-11-22 19:31:00 -08: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
Romain Beaumont
00244db976 Merge pull request #114 from 109C/master
Fixed sending malformed items, that caused the client to have visual bugs
2015-11-23 03:18:45 +01:00
C109
44f96dde73 Fixed sending malformed items, that caused the client to have visual bugs 2015-11-22 21:03:00 -05:00
Romain Beaumont
c9ef10b223 Merge pull request #112 from 109C/master
Use mineflayer's window classes in player's inventory
2015-11-23 00:48:28 +01:00
C109
28343dc3d3 Implement player inventory using prismarine-windows and prismarine-item
* player can collect item
2015-11-23 00:47:02 +01:00
Romain Beaumont
6f7e7618ca add a plugins section in the README 2015-11-22 23:45:40 +01:00
Romain Beaumont
844c360163 Merge pull request #110 from demipixel/newplugins
Come with me, and you'll be...
2015-11-22 20:44:02 +01:00
DemiPixel
cb88a5cbbb Lots and lots and lots of changes... Plugins begin again! 2015-11-21 14:30:16 -08:00
Romain Beaumont
808b5a0149 remove player specific updateAndSpawn since this is already happening for all entities 2015-11-21 00:02:41 +01:00
Romain Beaumont
4d267adb48 Merge pull request #108 from demipixel/behaviors
Just like how caterpillars will turn into butterflies...
2015-11-20 23:44:29 +01:00
DemiPixel
4d7f000b61 Last fixes 2015-11-20 14:38:05 -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
2a376626e6 Fix stuff, add a small implementation of picking up blocks (doesn't go into inventory) 2015-11-19 21:16:27 -08:00
DemiPixel
a02983c2bd Fixing metadata, almost done! 2015-11-19 17:46:54 -08:00
DemiPixel
180799e045 Attempting to convert Player into Entity 2015-11-19 17:17:33 -08:00
Romain Beaumont
8d7523a995 fix /help <command> 2015-11-20 00:48:36 +01:00
Romain Beaumont
f4a168cffb fix block drop in node 0.10 : itemCount is not optional 2015-11-20 00:23:22 +01:00
Romain Beaumont
da2457eae4 fix setBlock 2015-11-19 23:50:36 +01:00
Romain Beaumont
79e7d040b5 improve ticking, fix #101 2015-11-19 23:46:03 +01:00
Romain Beaumont
3f7853c95b update to nmp 0.16.2 2015-11-19 23:41:29 +01:00
Romain Beaumont
5282dd84a4 makes diamond_square a bit more rough 2015-11-19 23:10:17 +01:00
Romain Beaumont
6ea69796fb add a check in block_place : only place a block if you are holding a block, fix #104 2015-11-19 23:06:52 +01:00