1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

35 commits

Author SHA1 Message Date
mat
cd9a05e5a6 read_into -> read_from
yeah
2022-06-25 02:33:28 -05:00
mat
37c6618c16 Fix everything so azalea-buf works 2022-06-23 19:17:04 -05:00
mat
5ca49e680e azalea-buf 2022-06-23 15:12:17 -05:00
mat
0c0fec0065 fix some packets 2022-05-26 19:12:19 -05:00
mat
51fbbaaf6f Compiles 2022-05-26 17:59:43 -05:00
mat
0530c57579 Fixes 2022-05-26 17:55:07 -05:00
mat
f0792f25bb add derive McBuf to every packet 2022-05-14 20:03:24 -05:00
mat
93730a550a start adding ClientboundLevelParticlesPacket 2022-05-14 19:55:33 -05:00
mat
ac392542ce Merge branch 'main' into chunk-decoding 2022-05-08 18:55:49 -05:00
mat
e53ef8b0dd update advancements packet 2022-05-07 19:46:06 -05:00
mat
b9c31efc01 Initialize worldborder packet
Also add varlong and replace #[varint] with #[var]
2022-05-07 11:58:00 -05:00
mat
c987812927 clippy 2022-05-03 18:20:24 +00:00
mat
dedcd0de8f impl Write instead of Vec<u8> for consistency 2022-05-01 23:38:55 -05:00
mat
a24d00d998 impl Write instead of Vec<u8> for consistency 2022-05-01 23:35:30 -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
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
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
1ca9caee36 add bitset and work on chunk packets 2022-04-28 16:38:27 +00:00
mat
dd24110019 add derive mcbufreadable/writable 2022-04-26 22:58:18 +00:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
2c848ebaa5 Set carried item and update tags packets 2022-04-21 15:25:46 +00:00
mat
df318dba73 Fix declare_state_packets 2022-04-19 21:25:04 -05:00
mat
5306d99e33 allow trailing commas in declare_state_packets 2022-04-19 21:24:53 -05:00
mat
cbdab27cb5 add declare_state_packets to the other states 2022-04-19 19:17:36 -05:00
mat
9633874d23 finish declare_state_packets implementation 2022-04-19 18:53:13 -05:00
mat
c04a28621e start adding more stuff 2022-04-19 00:53:51 -05:00
mat
f60426cd5a start adding declare_state_packets 2022-04-19 00:48:13 -05:00
mat
394f996df2 fix random warnings 2022-01-02 17:42:41 -06:00
mat
094c210dad switch all current macro types to the new system 2022-01-02 17:19:04 -06:00
mat
bb566aa541 implement for Vec<u8> 2022-01-02 17:07:01 -06:00
mat
bb57273f48 start improving packet macros 2022-01-02 17:03:34 -06:00
mat
3ec7352da2 add macro for a couple more packets 2022-01-02 00:03:04 -06:00
mat
a1afbb6031 start adding packet macros 2022-01-01 23:55:19 -06:00