Commit Graph

328 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 4b7f8213aa Entity metadata cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-24 05:00:28 +02: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 98e6b23fdd
1.18.2 update (#714) 2022-03-01 00:40:19 +01:00
TheMode de71900cb9 Add `readByteArray` shortcut
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-11 04:32:49 +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 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 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 deda87ecb2 Improve PlayerInfoPacket
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 e56d82eb2a Misc improvements
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
Xavier Niochaut 9ab4277502 Port to Hephaistos v2 (#424) 2022-01-10 16:51:21 +01:00
TheMode e28a847e73 Fix UpdateTeamAction
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 74aceda0ad More cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 22a8ccabfa Fix notifications
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 9083f87153 Cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 9d26fa8137 Make LightData record
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 9e24aaab77 Cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 8c72bee1dd Cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode bc5f5dd8ee Simplify metadata code
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 7794337ca7 Style
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 05de99f45f immutable packets (record) (#528) 2022-01-10 16:51:21 +01:00
TheMode f4db54d6e5 Include block nbt fix
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode e3b59c3b95 Make new packets record (reading method still to be defined)
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode eb6b37f20b Retrieve block entity id
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 86ac1a4471 Fix read
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 4ac89eaa33 Update BlockEntityDataPacket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode a94cc20dba Default simulation distance to view distance
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode f12b1e1e58 Use a byte array to avoid synchronization
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 972e15a62b Add basic block entity support, simplify code
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 201b5500b9 Fix chunk loading
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode d3b55700e2 Initial non-working 1.18 commit
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 6920a6e8a5 Use a CachedPacket to store default tags
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-17 08:13:31 +01:00
TheMode c5e947c76e Move CachedPacket and FramedPacket
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-17 00:48:43 +01:00
TheMode b7ad2fef5c Send complete block nbt if no handler is present
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-26 17:44:01 +02:00