Commit Graph

2239 Commits

Author SHA1 Message Date
TheMode
4bb04ba892
Merge pull request #163 from Minestom/network-caching
Network improvement
2021-03-09 17:20:15 +01:00
themode
0b4c9ec094 Merge branch 'master' into network-caching 2021-03-09 07:11:47 +01:00
themode
6a0582a950 Do not send all chunks on logging, wait for the settings packet instead 2021-03-09 07:08:35 +01:00
themode
b6d96098f8 Update packet caching timestamp when retrieved 2021-03-09 05:21:43 +01:00
themode
f98cfe1d54 Set default start & length for the tab complete packet 2021-03-09 04:04:21 +01:00
themode
441cb5a1db Initial command suggestion commit 2021-03-09 01:44:01 +01:00
themode
7241dbdcf7 Modernize the demo package 2021-03-09 00:43:35 +01:00
themode
a25e414754 Fix players being stuck on first connection when no respawn point is defined 2021-03-08 17:12:21 +01:00
themode
8ab29368a6 Fixed players being able to move during teleport 2021-03-08 16:49:16 +01:00
themode
7e452cdd74 Enable tcpNoDelay + prevent memory leak on disconnection 2021-03-08 16:01:33 +01:00
Eoghanmc22
6e18d2bcfe Merge branch 'network-caching' of https://github.com/Minestom/Minestom into network-caching 2021-03-07 21:42:48 -05:00
Eoghanmc22
f7cd00fb18 get rod of an unnecessary allocation that was using a lot of mem 2021-03-07 21:41:09 -05:00
themode
9b9cd2ed03 Remove unnecessary chaining 2021-03-08 02:44:46 +01:00
Eoghanmc22
a61034fc1d make delayed sending slightly faster 2021-03-07 20:23:01 -05:00
themode
6f9a92ac76 Cleanup 2021-03-08 02:11:18 +01:00
themode
e730f60c0a Initial per connection buffer 2021-03-08 01:30:18 +01:00
themode
2e17c8a8e1 Fix inventory not appearing after changing dimension 2021-03-07 23:18:32 +01:00
themode
b8e987f556 Fix player getting stuck after changing dimension 2021-03-07 22:22:04 +01:00
themode
c20cf38399 Merge remote-tracking branch 'origin/master' 2021-03-07 16:09:41 +01:00
themode
0442cb0067 autoChunkLoad for InstanceContainer should be enabled by default 2021-03-07 16:09:28 +01:00
TheMode
9ea34fb668
Merge pull request #162 from RinesThaix/projectilesGravity
Fixing projectiles gravity
2021-03-07 15:09:47 +01:00
Konstantin Shandurenko
b9ec78b313 Removed explicit bounding box setup in EntityProjectile 2021-03-07 13:35:21 +03:00
themode
3b918a9382 Increase cache from 10s to 30s for the chunk & light packet 2021-03-06 21:17:16 +01:00
themode
74d902b2a2 Remove player synchronization group, a better alternative will come up 2021-03-06 14:31:44 +01:00
themode
3726998fe4 Update Hephaistos 2021-03-06 14:05:22 +01:00
Konstantin Shandurenko
51c627491a Fixing projectiles gravity 2021-03-06 11:24:31 +03:00
themode
05cf235984 Update Hydrazine 2021-03-06 01:51:38 +01:00
Matt Worzala
2cb343f493 minor reviewdog changes 2021-03-05 19:39:43 -05:00
Matt Worzala
ca8eac5356 implement BatchOption#isFullChunk, clarity change in Chunk 2021-03-05 19:39:43 -05:00
Matt Worzala
eca3abe11d Revert "allow non-standard import sorting, allow javadoc <p> to exist alone."
This reverts commit b8c86f5e
2021-03-05 19:39:43 -05:00
Matt Worzala
13f6e6cf69 allow non-standard import sorting, allow javadoc <p> to exist alone. 2021-03-05 19:39:43 -05:00
Matt Worzala
3167de3bd3 send chunk updates to all players, import cleanup 2021-03-05 19:39:43 -05:00
Matt Worzala
6fb533837d make reviewdog slightly happier 2021-03-05 19:39:43 -05:00
Matt Worzala
e4a966e7af remove cube batch command 2021-03-05 19:39:43 -05:00
Matt Worzala
7166525b8c send individual section updates when less than half of the sections are updated. 2021-03-05 19:39:43 -05:00
Matt Worzala
d0163ae749 send individual section updates when less than half of the sections are updated. 2021-03-05 19:39:42 -05:00
Matt Worzala
5bedee2795 Revert "Start of rotation, chunkbatch is fine, relative batch is not."
This reverts commit b48cce1d
2021-03-05 19:39:42 -05:00
Matt Worzala
e1e2772f4d Start of rotation, chunkbatch is fine, relative batch is not. 2021-03-05 19:39:42 -05:00
Matt Worzala
0f080b9dc8 javadocs 2021-03-05 19:39:42 -05:00
Matt Worzala
5a9e393ae2 bring back BatchOption, batch inversion start 2021-03-05 19:39:42 -05:00
themode
d5a53641ba Oops, firstEntry is now properly used 2021-03-05 19:39:42 -05:00
themode
eed97fd472 Small style cleanup 2021-03-05 19:39:42 -05:00
themode
ba32acbd04 Do not force the use of InstanceContainer 2021-03-05 19:39:42 -05:00
themode
66a5829c3e Implement offset for RelativeBlockBatch + optimization 2021-03-05 19:39:42 -05:00
Matt Worzala
8531d3958d Temp RelativeBlockBatch implementation 2021-03-05 19:39:42 -05:00
Matt Worzala
73249deb5a Add ChunkGenerationBatch, replace batches with 'v2' ones, remove batch creation methods in Instance 2021-03-05 19:39:42 -05:00
themode
6bd09256f3 Small cleanup and reduce memory usage with AbsoluteBlockBatch 2021-03-05 19:39:40 -05:00
Matt Worzala
c35b8887e8 Style changes & use computeIfAbsent instead of a null check/put 2021-03-05 19:39:40 -05:00
Matt Worzala
ccaf96b434 Start 'v2' batches with relative chunkbatch and absolute blockbatch 2021-03-05 19:39:40 -05:00
Matt Worzala
27aec6b48e Change BlockBatch to use ChunkBatch instead of its own internal representation 2021-03-05 19:39:39 -05:00