Commit Graph

2670 Commits

Author SHA1 Message Date
Németh Noel
e3d31f113a Don't send scheduled sync to the player it self 2021-05-15 21:07:42 +02:00
TheMode
19e22d03ce Deprecate packet listening API 2021-05-11 08:35:42 +02:00
TheMode
4ab35fbbc0 Remove magic value for pre-filled var ints 2021-05-11 03:10:18 +02:00
TheMode
d41a4dcf54 Reduce grouped packet buffer overhead 2021-05-10 11:16:17 +02:00
TheMode
96fe9f1063 Framed packet cleanup 4 2021-05-10 11:03:58 +02:00
TheMode
aaa012a975 Framed packet cleanup 3 2021-05-10 11:02:12 +02:00
TheMode
590b42c223 Framed packet cleanup 2 2021-05-10 07:00:16 +02:00
TheMode
b96386cee5 PacketUtils#writeFramedPacket cleanup 2021-05-10 05:47:14 +02:00
TheMode
653417be75 Modifiable TPS 2021-05-10 04:58:23 +02:00
TheMode
a8f52aa39d Remove unnecessary constant 2021-05-10 01:38:29 +02:00
TheMode
9cf897a4cc Remove empty lines 2021-05-10 01:17:43 +02:00
TheMode
db8219d5ee Remove unnecessary condition 2021-05-10 01:08:51 +02:00
TheMode
7deeb66089 Reintroduce updateChunks boolean 2021-05-10 00:51:35 +02:00
TheMode
71a6d88338 Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup 2021-05-10 00:31:29 +02:00
TheMode
f69b40109c Merge branch 'master' into position-cleanup 2021-05-10 00:31:17 +02:00
TheMode
5d7a49c009 Steal velocity VarInt optimization 2021-05-09 07:36:09 +02:00
TheMode
7ac0834123 Dont hardcode thread count 2021-05-09 00:11:35 +02:00
TheMode
165b7bced2 Only direct buffer should be used for IO 2021-05-08 22:45:57 +02:00
TheMode
abe4d0f6ad Remove unused traffic handler 2021-05-08 04:41:14 +02:00
TheMode
073f5872f8 Fix jline reader thread never being shutdown 2021-05-08 04:33:32 +02:00
TheMode
b880788124 BenchmarkManager thread should be daemon 2021-05-08 04:30:06 +02:00
TheMode
40f52ba49e Reduce memory used by chunk packet caching 2021-05-08 01:53:12 +02:00
TheMode
fbae08a5a6 Remove unused method 2021-05-08 01:05:51 +02:00
TheMode
f1e48b07b9 Reduce use of the pooled allocator 2021-05-08 00:52:46 +02:00
TheMode
8b98472ddf Ignore case for generated string arguments 2021-05-07 21:55:49 +02:00
TheMode
fb03b953bb Tick scheduling micro-optimization 2021-05-07 20:41:40 +02:00
TheMode
a33234d886 Fast exit when no chunk should be unloaded 2021-05-07 20:29:37 +02:00
TheMode
52732ed4cd Fix wrong slot being used in left/right click inside the player inventory 2021-05-07 06:48:13 +02:00
Németh Noel
443a097984 Merge remote-tracking branch 'upstream/master' into position-cleanup 2021-05-07 02:55:22 +02:00
Németh Noel
6bd1fcff65 Remove block light data and send full sky data 2021-05-07 02:46:07 +02:00
Németh Noel
b75a034b2d Reintroduced two phase chunk sending 2021-05-07 02:24:28 +02:00
Németh Noel
de7241ef6c Re-enable chunk unloading, corrected packet order 2021-05-07 00:54:38 +02:00
TheMode
744b8e7886 Smarter code 2021-05-07 00:16:09 +02:00
TheMode
9a4fdae38a Fix block being transformed to AIR on interaction when in adventure mode 2021-05-07 00:15:16 +02:00
Németh Noel
d360904f77 Fix different spawn pos check 2021-05-05 23:55:01 +02:00
Németh Noel
2f1ada9a9f Merge remote-tracking branch 'upstream/master' into position-cleanup 2021-05-05 18:26:57 +02:00
Németh Noel
3eb4981990 Removed redundant initial value 2021-05-05 18:25:20 +02:00
Németh Noel
7881cea36c Wait for client settings 2021-05-05 18:11:24 +02:00
Németh Noel
bea622db0b Only load spawning chunk before spawning the player 2021-05-05 17:48:57 +02:00
Kieran Wallbanks
0789bd619e Remove QueryResponse class in favor of Writable 2021-05-05 16:27:50 +01:00
Kieran Wallbanks
a43c0e1291 Modify OpenToLANConfig method names 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
42933e58b0 Minor formatting and javadoc changes 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
2968ea2513 Debug cleanup, expose session ID 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
c6082a35bb Fix query responses 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
17d584a2e3 Swap to SocketAddress 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a6294ffd5b Cleanup imports 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
94ecb8de7b Add Query system 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
c92829e3cf Correct javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
f9245e8404 Move free port obtaining to util class 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
ec5ecb49bf Update javadoc 2021-05-05 16:18:11 +01:00