Commit graph

352 commits

Author SHA1 Message Date
mat
3fcbfc794e Upgrade crates and remove num_* deps 2022-06-24 03:50:19 -05:00
mat
1640dfe457 fix EntityDataValue 2022-06-24 00:02:03 -05:00
mat
ce834aeca5 Fixes 2022-06-23 23:45:23 -05:00
mat
e44afb76f4 1.19.1-rc1 2022-06-23 21:34:10 -05:00
mat
2cdbdcaa27 move_entity_with_delta 2022-06-23 21:31:19 -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
0280fb58e1 add serverbound move packets 2022-06-21 22:10:33 -05:00
mat
deef5d27c0 Update to 1.19.1-pre1 2022-06-21 19:57:18 -05:00
mat
a1484f6629
Merge branch 'main' into 1.19.1 2022-06-20 06:22:16 +00:00
mat
438d633b83 Bump tokio 2022-06-19 22:12:19 -05:00
mat
d674633e85 Merge branch 'main' into azalea-entity 2022-06-19 14:00:51 -05:00
mat
405a00c0d1 Fix ClientboundLevelParticlesPacket
The particle id is a varint
2022-06-19 13:54:43 -05:00
mat
d8e0457b62 from<ClientboundAddEntityPacket> for Entity 2022-06-18 14:08:34 -05:00
mat
e2553bbaf2 Merge branch 'main' into 1.19.1 2022-06-17 18:11:21 -05:00
mat
f414aa4d37
Merge pull request #9 from mat-1/azalea-block
azalea-block
2022-06-17 23:10:54 +00:00
mat
0a945e73ec EntityPos 2022-06-17 18:09:34 -05:00
mat
d27d283686 Update ClientboundSoundPacket to 1.19 2022-06-17 16:34:34 -05:00
mat
d0fc7d0eff ClientboundSetEquipmentPacket 2022-06-17 16:27:58 -05:00
mat
56f98c1b24 Fix GlobalPos 2022-06-16 21:01:38 -05:00
mat
9c0b6f6631 22w24a & update packets when they're modified 2022-06-16 20:59:19 -05:00
mat
70cc7dfbed get rid of ProfilePublicKey struct 2022-06-08 21:16:32 -05:00
mat
fb1d419a3d 1.19 2022-06-08 18:37:29 -05:00
mat
e9e60eca80 Update README.md 2022-05-27 00:05:14 -05:00
mat
0c0fec0065 fix some packets 2022-05-26 19:12:19 -05:00
mat
7c302b4b29 Change brigadier numbers 2022-05-26 19:01:29 -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
1e145a82b8 1.19 2022-05-26 13:45:48 -05:00
mat
35511e83c3 more fix 2022-05-25 20:28:46 -05:00
mat
c16e958d0b ClientboundLevelParticlesPacket works 2022-05-14 20:43:25 -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
3f77390e26 ClientboundGameEventPacket 2022-05-14 19:40:00 -05:00
mat
2eaccf03eb actually do ClientboundSectionBlocksUpdatePacket 2022-05-14 19:31:34 -05:00
mat
42f86f73f2 add unhandled ClientboundSectionBlocksUpdatePacket 2022-05-14 19:14:34 -05:00
mat
ac392542ce Merge branch 'main' into chunk-decoding 2022-05-08 18:55:49 -05:00
mat
d783a0295b animate packet 2022-05-08 18:44:40 -05:00
mat
a60c1ac05b block update packet 2022-05-07 22:03:49 -05:00
mat
ff79c1838a level event packet 2022-05-07 21:58:10 -05:00
mat
ffba101854 chat and sound packets 2022-05-07 21:54:27 -05:00
mat
f62a681474 remove entities packet 2022-05-07 21:44:11 -05:00
mat
98eee6d908 add keepalive packets 2022-05-07 20:41:33 -05:00
mat
49454781cf add move packets 2022-05-07 20:34:53 -05:00
mat
d8049a5d0c move entity and rotate head packets 2022-05-07 20:00:59 -05:00
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
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
9f496a89b5 basic code generator 2022-05-07 16:54:02 -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
4dac004635 Fix chunk decoding 2022-05-05 22:12:54 -05:00
mat
c987812927 clippy 2022-05-03 18:20:24 +00:00
mat
477c367fc4 mor echunk stuff 2022-05-03 18:03:10 +00:00
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
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
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
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
388b0fc0f2 ClientboundUpdateAttributesPacket & ClientboundEntityVelocityPacket 2022-05-01 15:19: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
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
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
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
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
mat
f9528a9f9a work on adding more stuff for recipes 2022-04-26 15:13:47 +00:00
mat
e4e8cae0e3 start adding update recipes packet 2022-04-24 23:02:21 -05:00
mat
d6f0449344 remove debug prints 2022-04-24 22:55:11 -05:00
mat
f4dd3a9293 ENCRYPTION WORKS!!!!!!!!!!! 2022-04-24 22:46:41 -05:00
mat
4c00bd8865 Add ServerboundKeyPacket 2022-04-24 19:28:29 -05:00
mat
b7641ff308 1.18.2 support 2022-04-24 16:18:51 -05:00
mat
b43ad19636 remove an unused thing from dependencies 2022-04-24 14:44:02 -05:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
7cdd417145 add files 2022-04-22 00:13:45 +00:00
mat
2c848ebaa5 Set carried item and update tags packets 2022-04-21 15:25:46 +00:00
mat
298d30ad08 make PlayerAbilitiesFlags its own thing 2022-04-20 18:03:42 +00:00
mat
8bd97c6c96 add player abilities packet 2022-04-20 16:28:39 +00:00
mat
c5f10af09d write some readmes 2022-04-20 15:24:25 +00:00
mat
cafa4dd76f Fix declare_state_packets 2022-04-19 21:24:42 -05:00
mat
a3fad4765b reorder some packets 2022-04-19 21:03:10 -05:00
mat
a45eb6deb2 allow trailing commas in declare_state_packets 2022-04-19 20:37:42 -05:00
mat
58e58dfa8f Merge branch 'main' into declare-commands-packet 2022-04-19 20:35:21 -05:00
mat
5fd87615cf
Merge pull request #1 from mat-1/brigadier
azalea-brigadier
2022-04-20 01:34:12 +00:00
mat
bc22faf3b0 remove a couple of imports 2022-04-19 20:33:17 -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
751098b636 start working on declare commands packet 2022-04-18 22:38:53 -05:00
mat
bd87cbb443 create all empty brigadier modules 2022-01-03 13:36:02 -06:00
mat
96eba2b39a difficulty packet 2022-01-03 00:14:41 -06:00
mat
394f996df2 fix random warnings 2022-01-02 17:42:41 -06:00
mat
45871fc01e better parsing for entire login packet 2022-01-02 17:40:18 -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
mat
e81b85dd5b add a couple more packets 2022-01-01 19:44:51 -06:00
mat
1a961d968b fix some clippy warnings 2021-12-26 14:17:01 -06:00
mat
af28b0e57a reading nbt in the protocol works 2021-12-26 14:15:06 -06:00
mat
1cdd061a99 ok i give up remove the async benchmarks 2021-12-25 15:10:08 -06:00
mat
6ae94b96e6 start adding nbt to the protocol 2021-12-20 15:22:02 -06:00
mat
b030b9de93 nbt 2021-12-18 20:33:16 -06:00
mat
428d0ee0e6 mmm registries 2021-12-18 10:11:53 -06:00
mat
8e3ba097b4 start adding clientbound_login_packet 2021-12-18 10:04:10 -06:00
mat
498077e09f writing compressed packets 2021-12-17 23:01:16 -06:00
mat
493aae582a fix packets 2021-12-17 16:38:14 -06:00
mat
c4eecaf13a try to implement compression 2021-12-16 23:33:06 -06:00
mat
1dc56b6f51 fix errors 2021-12-16 17:55:45 -06:00
mat
227ba5511d add a few more login packets 2021-12-16 17:51:05 -06:00
mat
999116ed7c add map to mc_buf 2021-12-16 16:00:59 -06:00
mat
aea5ffaccb add int id list 2021-12-16 14:34:36 -06:00
mat
3d0aef772a get rid of read_collection 2021-12-16 14:25:02 -06:00
mat
dd66441e72 idk 2021-12-16 18:30:05 +00:00
mat
c12469966e add resource location to azalea-core 2021-12-16 16:23:51 +00:00
mat
9642558f8f azalea 2021-12-15 23:10:55 -06:00