Commit Graph

484 Commits

Author SHA1 Message Date
TheMode fc90fe8852 Remove some `Collections` usage
Signed-off-by: TheMode <themode@outlook.fr>
2022-09-06 15:08:36 +02:00
TheMode 1dd2cc72ee
1.19.2 (#774) 2022-09-05 13:54:58 +02:00
Marfien eef95ae5d1
Add ComponentHolderServerPacket to some packets (#1275) 2022-09-02 22:23:42 +02:00
Noel Németh 3e7719b6d1 Add missing parsers 2022-07-05 20:01:51 +02:00
Noel Németh 81c978ee9b Fix parser namespaces 2022-07-05 19:24:41 +02:00
TheMode ace42b6f46 Make ObjectArray interface
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-18 08:54:55 +02:00
TheMode 8d7175af73
Replace thread locals to pool (#1079) 2022-05-16 07:34:47 +02:00
TheMode 4b7f8213aa Entity metadata cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-24 05:00:28 +02:00
TheMode 467decbb20 Remove explicit fences
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-03 04:09:11 +02:00
TheMode ff8dd0cdaa Misc networking improvements
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-02 22:05:29 +02:00
EpicPlayerA10 40024da5c9
Fix compression packet order (#811) 2022-03-26 15:40:14 +01:00
themode a689691873 Unnecessary fences 2022-03-26 11:44:40 +01:00
themode edabb19891 Explicit fences 2022-03-25 10:12:04 +01:00
themode 7c874bb588 GameMode cleanup 2022-03-04 07:07:53 +01:00
Moulberry baa603ba41
Fix naming error in SpawnLivingEntityPacket 2022-03-03 23:13:49 +08:00
themode 96fee8541d Move ObjectArray 2022-03-02 11:44:11 +01:00
TheMode 98e6b23fdd
1.18.2 update (#714) 2022-03-01 00:40:19 +01:00
themode d57b03f54d Better caching for CachedPacket#packet 2022-02-25 00:01:16 +01:00
TheMode de71900cb9 Add `readByteArray` shortcut
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-11 04:32:49 +01:00
TheMode 1ad013e02e Remove deprecated data/storage APIs
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-09 23:07:18 +01:00
TheMode d622eab048 Oopsie
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-02 21:30:03 +01:00
emortal f1ca048eb6
Fix player settings (#620) 2022-01-29 22:07:50 +01:00
TheMode fb81578028 Move string length check in ClientSettingsPacket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-29 21:04:01 +01:00
themode 85677360eb Move MOJANG_AUTH_URL 2022-01-26 06:58:41 +01:00
Andre Roldan 2d305cb0f0
Add ResourcePack#optional overload to specify prompt (#600) 2022-01-25 01:42:32 +01:00
TheMode be1495a385 Add extractClientNbt utils
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 05:46:26 +01:00
TheMode 0366027c5d Misc cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-12 22:15:50 +01:00
Gatt 627bc14b56 Fix shaped recipe read (take 2) (#573) 2022-01-10 16:51:21 +01:00
themode 206d93ed1b Revert "fix declare shaped packet reader (#572)"
This reverts commit d94d07bead.
2022-01-10 16:51:21 +01:00
Gatt ca2d708a40 fix declare shaped packet reader (#572) 2022-01-10 16:51:21 +01:00
Gatt 2fff62efd2 Fix DeclareRecipePacket (#562) 2022-01-10 16:51:21 +01:00
themode 204089d53d acquire/release 2022-01-10 16:51:21 +01:00
themode b79054f8e8 Opaque ordering for LazyPacket 2022-01-10 16:51:21 +01:00
themode 10d40dd19d Use opaque memory ordering for cached packets 2022-01-10 16:51:21 +01:00
themode 91a8607710 Fix MultiBlockChangePacket read 2022-01-10 16:51:21 +01:00
themode c5728a2df1 MultiBlockChangePacket use a var long array 2022-01-10 16:51:21 +01:00
Gatt b8d51df58e Fix ChunkData including "fake" Block Entities (#556) 2022-01-10 16:51:21 +01:00
themode 90e88dc6e7 Improve map packet 2022-01-10 16:51:21 +01:00
themode 8ae02109b9 Avoid unnecessary volatile read 2022-01-10 16:51:21 +01:00
themode 6aaf5aa0ce Remove the concept of non-shared attribute 2022-01-10 16:51:21 +01:00
Bloepiloepi 18814f77e2 Fixed EntityPropertiesPacket base value (#545) 2022-01-10 16:51:21 +01:00
themode 39a0923326 Add LazyPacket 2022-01-10 16:51:21 +01:00
themode 7df51ef606 Simplify CachedPacket 2022-01-10 16:51:21 +01:00
themode bb1b1e53d7 Improve performance when cached packets are disabled 2022-01-10 16:51:21 +01:00
TheMode deda87ecb2 Improve PlayerInfoPacket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 5b4ffa0846 Add SendablePacket#extractServerPacket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 987c563255 Add more packets to test
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 817bb32c3a Remove duplicate constructor
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 14d6a0993b Use writeByteArray
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode e56d82eb2a Misc improvements
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00