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

236 commits

Author SHA1 Message Date
mat
e53ef8b0dd update advancements packet 2022-05-07 19:46:06 -05:00
mat
0b84e1cbb8 add a couple more packets 2022-05-07 18:47:16 -05:00
mat
1a15d36e6b add health packet 2022-05-07 18:44:00 -05:00
mat
d9e388d8b0
Merge pull request #5 from mat-1/code-gen
Code gen
2022-05-07 23:38:16 +00:00
mat
f198bdf777 fix gitignore 2022-05-07 18:36:17 -05:00
mat
5fe6ac7adf rename data-code-generator to code-generator 2022-05-07 18:34:55 -05:00
mat
dd770cf41a Update README.md 2022-05-07 18:34:13 -05:00
mat
7699152536 auto detect if we should skip burger 2022-05-07 18:32:54 -05:00
mat
2ddbc5cfc0 improve usage 2022-05-07 18:30:44 -05:00
mat
c10b732510 improve data generator and add packet 2022-05-07 18:26:19 -05:00
mat
aa3ba64aa4 actually generate a packet! 2022-05-07 17:59:03 -05:00
mat
7b61d41f86 fixes 2022-05-07 17:29:51 -05:00
mat
cf34a7c414 write packet files 2022-05-07 16:56:44 -05:00
mat
9f496a89b5 basic code generator 2022-05-07 16:54:02 -05:00
mat
71acb5b336 release mode other crypto packages 2022-05-07 12:30:20 -05:00
mat
f0a277788c add set time packet and update readme 2022-05-07 12:22:57 -05:00
mat
b9c31efc01 Initialize worldborder packet
Also add varlong and replace #[varint] with #[var]
2022-05-07 11:58:00 -05:00
mat
79bf577130 clientbound add player packet 2022-05-07 11:22:03 -05:00
mat
34058b2528 Remove some resolved todo comments 2022-05-01 23:45:28 -05:00
mat
dedcd0de8f impl Write instead of Vec<u8> for consistency 2022-05-01 23:38:55 -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
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