Commit graph

222 commits

Author SHA1 Message Date
mat
0bd798045c more azalea-world stuff 2022-05-03 00:33:32 -05:00
mat
8e42e1c5df more chunk and readme stuff 2022-05-02 23:07:06 +00:00
mat
1e2ec61100 write some more azalea-world code 2022-05-02 00:24:29 -05:00
mat
a24d00d998 impl Write instead of Vec<u8> for consistency 2022-05-01 23:35:30 -05:00
mat
bec2da64d8 Merge branch 'main' into chunk-decoding 2022-05-01 23:06:56 -05:00
mat
db2fcecdc3 Change some generics to impl Trait 2022-05-01 22:58:20 -05:00
mat
44db8948d6 Re-enable NBT decoding benchmark 2022-05-01 22:53:24 -05:00
mat
728f0399ff
Merge pull request #4 from mat-1/sync-decoding
Reduce usage of AsyncRead
2022-05-02 03:10:52 +00:00
mat
e1b6bc965a Update read.rs 2022-05-01 22:10:28 -05:00
mat
567c6f4f2c Reduce usage of AsyncRead
We already receive everything from the server when it tells us the length, so we can actually just treat the stream as a Read instead of an AsyncRead.
2022-05-01 21:54:03 -05:00
mat
4d75415130 start adding azalea-world 2022-05-01 18:59:07 -05:00
mat
c2262a2123 clientbound_set_entity_link_packet 2022-05-01 16:30:40 -05:00
mat
366904e419 Update README.md 2022-05-01 15:22:28 -05:00
mat
388b0fc0f2 ClientboundUpdateAttributesPacket & ClientboundEntityVelocityPacket 2022-05-01 15:19:51 -05:00
mat
1a68d55eaf add IGNORE_ERRORS const 2022-05-01 14:14:51 -05:00
mat
0ccf203460 Fix writing encrypted packets 2022-05-01 14:11:11 -05:00
mat
766b290065 Ignore unknown packets 2022-05-01 14:03:15 -05:00
mat
9dacd90abc clientbound_add_entity_packet & clientbound_set_entity_data_packet 2022-05-01 13:51:59 -05:00
mat
4b1cfd1cf8 remove useless match things 2022-05-01 00:32:55 -05:00
mat
42ca37554c actually send the ServerboundCustomPayloadPacket 2022-04-30 23:11:18 -05:00
mat
8313952541 Simplify packet macro
Now every packet implements McBufWritable and McBufReadable and uses those so the code doesn't have to be duplicated.
2022-04-30 23:04:18 -05:00
mat
0dc6decf7f put something useful in state 2022-04-30 22:30:50 -05:00
mat
3c3deb625d add entity -> add mob 2022-04-30 22:18:33 -05:00
mat
51201ffe65 Update clientbound_add_entity_packet.rs 2022-04-30 22:16:13 -05:00
mat
f2a8e8221d add clientbound_add_entity_packet 2022-04-30 22:13:47 -05:00
mat
80d49a7607 azalea_auth::encryption -> azalea_crypto 2022-04-30 21:30:45 -05:00
mat
cc70d80932 gitignore flamegraph stuff 2022-04-30 17:55:18 -05:00
mat
7f9463320f fix error that happens in linux + release mode 2022-04-30 16:56:59 -05:00
mat
153b5b45e4 misc fixes 2022-04-30 02:10:21 -05:00
mat
c37fcfe4da comment some stuff out 2022-04-30 01:50:53 -05:00
mat
4d7bf6c50e significantly optimize reading Vec<u8>
unfortunately, this introduces the requirement of using rust nightly
2022-04-30 01:43:00 -05:00
mat
c8c356685d background task works! 2022-04-29 23:06:40 -05:00
mat
baaa7658b5 Merge branch 'main' into chunk-packets 2022-04-29 20:22:26 -05:00
mat
8317b5b281 upgrade aes and cfb8 2022-04-29 20:20:56 -05:00
mat
3bd32cfa00 how do i do this 2022-04-29 00:40:47 -05:00
mat
b6fb96429c chunk packets work 2022-04-28 19:51:31 -05:00
mat
2575da38ed write more example code 2022-04-28 22:50:39 +00:00
mat
1ca9caee36 add bitset and work on chunk packets 2022-04-28 16:38:27 +00:00
mat
64823e661f Update clientbound_level_chunk_with_light_packet.rs 2022-04-27 23:50:28 -05:00
mat
a4c63c7bb4 create the necessary structs 2022-04-27 23:48:53 -05:00
mat
c2a9acc756 add ClientboundSetChunkCacheCenterPacket 2022-04-27 23:43:10 -05:00
mat
1b5a3722ee fix player info packet 2022-04-27 23:35:34 -05:00
mat
9b50886c30 player info packet 2022-04-27 18:00:50 +00:00
mat
60d1fa50c3 add player position packet 2022-04-27 15:09:33 +00:00
mat
4f9f2468f0 add recipe packet 2022-04-26 22:53:47 -05:00
mat
f859dbbba0 update brigadier 2022-04-26 22:15:07 -05:00
mat
9c69d7d5f2 finish update recipes packet implementation 2022-04-26 19:38:07 -05:00
mat
dd24110019 add derive mcbufreadable/writable 2022-04-26 22:58:18 +00:00
mat
5736a790d3 write some readmes 2022-04-26 15:37:31 +00:00
mat
e5fcfa1193 default implementation for read and write Vec<T> 2022-04-26 15:33:41 +00:00