Commit Graph

2182 Commits

Author SHA1 Message Date
LeoDog896
e9a5389680 More scoping 2021-03-23 20:13:15 -04:00
LeoDog896
b5728e2255 Scope the dependency map 2021-03-23 20:04:25 -04:00
LeoDog896
1de1fb062d Better mapping! 2021-03-23 19:59:40 -04:00
LeoDog896
3b5d066f44 Style and stream cleanup 2021-03-23 19:43:48 -04:00
LeoDog896
79a8f4bd93 General style alignment 2021-03-23 11:50:42 -04:00
LeoDog896
5adbbd8c45 Style cleanup
Note: Stream is nice to have in some places, just *please* don't abuse it
2021-03-23 11:42:32 -04:00
LeoDog896
701b1cb2e5 Move to DiscoveredExtension vs ExtensionDescription
For those who are wondering why I replaced some streams:

https://stackoverflow.com/questions/16635398/java-8-iterable-foreach-vs-foreach-loop
2021-03-23 11:35:52 -04:00
themode
4c3215bf1b Fix packet writing when compression is disabled 2021-03-22 19:37:16 +01:00
themode
7cd2d1b896 Do not fill attributes by default 2021-03-22 15:20:24 +01:00
themode
169dbedea2 Fix entity head position, improve performance for Player#addViewer0 2021-03-22 14:54:52 +01:00
themode
5185a3efa6 Improve DynamicChunk cloning 2021-03-22 14:39:06 +01:00
themode
e2a94d40ae Merge remote-tracking branch 'origin/master' 2021-03-22 14:31:46 +01:00
themode
01e56636da Reduce the number of buffer copy 2021-03-22 14:31:38 +01:00
KrystilizeNevaDies
77af63772f Add getTask in SchedulerManager 2021-03-22 21:23:57 +10:00
themode
b6d8dd9f73 Style cleanup + increase food saturation limit to 20 2021-03-21 19:47:22 +01:00
themode
510f8d7733 Give a name to the tick scheduler thread 2021-03-21 15:44:37 +01:00
themode
95eddf47de Auto load chunk when spawning entities 2021-03-21 14:26:34 +01:00
themode
9893bb72c8 don't send a close inventory packet when opening a new one 2021-03-21 13:38:25 +01:00
themode
126382f55d Reduce memory allocation 2021-03-21 13:22:49 +01:00
themode
2028009685 Temporarily disable traffic handler, improve chunk viewers set 2021-03-21 12:02:23 +01:00
themode
cd75740e41 Fix compilation 2021-03-21 11:46:04 +01:00
themode
aa2f29bbc2 Remove preventive write, only update cache when needed 2021-03-21 11:45:32 +01:00
themode
0fc8ae953f Improve entities caching inside instance & chunks 2021-03-21 11:38:48 +01:00
themode
9817919988 CommandParser#findCommand style cleanup 2021-03-21 09:25:22 +01:00
themode
1e138c5db9 Merge remote-tracking branch 'origin/master' 2021-03-21 09:09:52 +01:00
themode
3e3cb4b213 Fix command name recursion 2021-03-21 09:09:32 +01:00
TheMode
5284721994
Merge pull request #176 from Archy-X/master
Add ItemStack constructor without amount parameter
2021-03-21 06:05:31 +01:00
Archy-X
a9577f084a Add ItemStack constructor without amount parameter 2021-03-20 18:09:14 -07:00
themode
cd273b4d99 Use direct buffer for framed packets 2021-03-20 11:59:02 +01:00
themode
a9a0a672f0 Reduce deflater level, prevent race condition when releasing tick buffer 2021-03-20 10:20:45 +01:00
themode
cdfa0dcfde Use pooled buffer to prevent reallocation when copying 2021-03-20 08:38:50 +01:00
Eoghanmc22
8975161edb use a ConcurrentHashMap key set instead of a CopyOnWriteArraySet for viewers so .contains() is O(1) 2021-03-19 22:50:28 -04:00
themode
949794cbf5 Remove unused import 2021-03-19 06:19:31 +01:00
themode
71d0d06f90 Improve block placement performance, more abstraction for future features 2021-03-19 05:51:42 +01:00
themode
933b2663eb small style cleanup 2021-03-19 03:56:25 +01:00
TheMode
9523892bce
Merge pull request #97 from mworzala/batch_options
WIP: Relative, rotatable, reversable batches
2021-03-19 03:50:34 +01:00
themode
6c8e3cc022 Fix WritableBookMeta not containing the title & author 2021-03-18 03:13:56 +01:00
themode
72ad230872 Merge branch 'command-redirection' 2021-03-17 05:06:33 +01:00
themode
f449201033 Remove the need for the command string in ParsedCommand 2021-03-17 05:06:09 +01:00
TheMode
98b453714e
Merge pull request #171 from Minestom/command-redirection
Command redirection improvement
2021-03-17 04:53:02 +01:00
themode
7bbc99956d Merge branch 'master' into command-redirection 2021-03-17 01:56:00 +01:00
themode
36d548ff35 Improve redirection match 2021-03-17 01:52:55 +01:00
themode
c960bb297b Remove unnecessary condition, prevent double chunk refresh 2021-03-16 05:16:11 +01:00
themode
effca76196 Add threshold for flushing 2021-03-16 04:36:43 +01:00
themode
19a84bcddd Set default palette size to 8 for DynamicChunk 2021-03-16 04:34:00 +01:00
TheMode
bda4658cba
Merge pull request #172 from StackDoubleFlow/master
Fix palette resize issue
2021-03-16 04:32:55 +01:00
StackDoubleFlow
b648d7561c Fix palette resize issue 2021-03-15 22:19:13 -05:00
themode
8b0ab3d8c3 Fix lag spikes when loading the same chunks multiple times 2021-03-16 00:52:35 +01:00
themode
6514b188fe ChunkDataPacket remove unnecessary operations 2021-03-15 23:07:43 +01:00
themode
ae922529ea Increase default chunk range to 3 2021-03-15 20:33:08 +01:00