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

377 commits

Author SHA1 Message Date
mat
dec544a52b fix ClientboundLevelParticlesPacket errors and pathfinder /particle errors 2024-08-15 01:24:03 +00:00
Shayne Hartford
cf4e3f609d
Add missing configuration and game connection wrappers (#161) 2024-07-12 01:07:24 -05:00
EnderKill98
350e32d0a9
Fix command packets (#155)
* Fix copy&paste mistake from chat command signed packet to chat command packet

* Bugfix

---------

Co-authored-by: EnderKill98 <no@mail.tld>
2024-06-16 16:03:34 -05:00
mat
f66d2d4767
1.21 (#145)
* 24w18a (data driven enchantments not implemented yet)

* 1.21
2024-06-13 19:52:05 -05:00
mat
73bcc6639b fix another edge case in FormattedText::from_nbt_tag that happens with viaversion 2024-05-22 10:28:43 +00:00
mat
8e2e81651c fmt 2024-04-27 06:08:38 +00:00
Luis
6553d9510d
Use ClientIntention over ConnectionProtocol for ClientIntentionPacket (#143)
* fix!: use ClientIntention over ConnectionProtocol for ClientIntentionPacket

* chore: remove McBufRead/Writable from ConnectionProtocol

* chore: use From over Into for ClientIntention to ConnectionProtocol conversion

* chore: organise imports in existing style
2024-04-27 01:03:20 -05:00
mat
357824014e fix ClientboundLevelParticlesPacket 2024-04-24 03:58:26 +00:00
mat
1d80f531b7
1.20.5 (#127)
* 23w51b

* make recalculate_near_end_of_path public

so other plugins can do .after(recalculate_near_end_of_path)

* update to 24w03a i think

* start implementing 24w13a

* registries work (but a lot of packets are still broken)

* fix recipes and commands packets

* i love codecs :D i am not going insane :D mojang's java is very readable :D

* item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow

* update to 1.20.5-pre3

* fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone)

* 1.20.5-rc1

* fix failing tests

* 1.20.5
2024-04-23 10:34:50 -05:00
mat
0ddad8bd9c fix edge case with reading FormattedText as nbt 2024-04-20 21:06:37 +00:00
mat
353eda21ac socks5 support (#113) 2024-04-20 03:40:59 +00:00
veronoicc
7fc31f9506
Update clientbound_game_event_packet.rs (#133)
Added 2 new game even types
2024-03-08 10:56:55 -06:00
mat
c38957374c fix parsing textcomponents failing when it's translatable and has a primitive as an argument 2024-02-24 14:00:09 -06:00
mat
038807e607 fix for hypixel limbo 2024-02-22 22:41:54 -06:00
mat
7feee2954d remove unnecessary map_err 2024-01-20 17:35:54 -06:00
mat
cfbfdd77b4 fix ping packet, explosion packet, and panic less 2024-01-08 00:12:54 -06:00
mat
13e6421cf5 fix FormattedText when 'extra' isn't a list of compounds 2023-12-28 18:36:23 -06:00
mat
cbb2ffad92 read nbt as optional in more places 2023-12-28 17:49:47 -06:00
Tijn
7aca36805a
Publicize all fields on AddOperation and Style (#124)
The struct itself was already public, I assume the fields where meant to be as well.
2023-12-17 15:52:34 -06:00
mat
a069ffe982 fix non-u8 gamemodes
love you wynncraft
2023-12-16 14:29:49 -06:00
mat
9260892d44 fix bytes of packets not being logged in tracing 2023-12-16 13:28:22 -06:00
mat
7857a014b9
1.20.3 (#110)
* 23w40a

* 23w41a

* 23w42a

* 23w43a

* 23w44a

* serialize FormattedText as nbt in network

* use azalea-nbt/serde in azalea-chat

* 23w45a

* fix 23w45a to compile

* handle Object in codegen

* 1.20.3-pre2

* remove unused clientbound_resource_pack_packet.rs

* merge main and make azalea-chat use simdnbt

* 1.20.3-rc1

* fix tests

* use simdnbt 0.3

* fix ServerboundSetJigsawBlockPacket

* 1.20.3
2023-12-05 10:59:05 -06:00
mat
797dd91710 revert packet name to Disguised and make it more like ChatPacket::Player 2023-12-04 14:27:13 -06:00
Shayne Hartford
888c276503
Add masked chat type/event (#118) 2023-12-04 14:26:53 -06:00
mat
0713223e12 fix compile error when trace logs are enabled 2023-12-02 16:07:09 -06:00
mat
34a4027010 change protocol_version to an i32 2023-12-02 15:49:54 -06:00
mat
3eb9998c98 compression does not need to be async 2023-12-01 23:09:24 -06:00
mat
a806194497 fmt 2023-11-29 20:00:47 -06:00
mat
af818b3b58 simplify ServerAddress serde implementations 2023-11-29 19:51:34 -06:00
1zuna
87c2bc2e5d
serde support for 'ServerAddress' (#115) 2023-11-29 19:51:19 -06:00
1zuna
8fb58b7754
fix trust_dns_resolver issue (#112)
fixes error: "Label contains invalid characters"
2023-11-29 18:25:58 -06:00
mat
2c610826fc
Replace azalea-nbt with simdnbt (#111)
* delete azalea-nbt and replace with simdnbt

* use simdnbt from crates.io

* remove serde dependency on azalea-registry
2023-11-19 22:07:38 -06:00
mat
f0b58c7e74 share registries in swarms and fix some bugs 2023-11-18 20:44:49 -06:00
mat
9633508a3a replace log with tracing 2023-11-18 00:58:47 -06:00
mat
eeec59adab KnockbackEvent and rename Physics::delta to velocity 2023-10-12 22:39:29 -05:00
mat
38db231ea8 brigadier usages 2023-10-12 20:14:29 -05:00
mat
befa33a879 organize azalea_core and re-export it from azalea 2023-10-01 15:19:13 -05:00
mat
7b3e2e4bf7
1.20.2 (#99)
* add configuration state

* start updating to 23w31a

* implement a bit more of 23w31a

* chunk batching

* start adding configuration state

* ioasfhjgsd

* almost works

* configuration state mostly implemented

* handle other packets in configuration state and fix keepalive

* cleanup, fix warnings

* 23w32a

* fix some doctests

* 23w33a

* 23w35a

* 1.20.2-pre2

* fix system conflicts

* 1.20.2-pre4

* make tests compile

* tests pass

* 1.20.2-rc2

* 1.20.2

* Revert "1.20.2"

This reverts commit dd152fd265.

* didn't mean to commit that code

---------

Co-authored-by: mat <git@matdoes.dev>
2023-09-21 11:16:29 -05:00
mat
856a3252f6 heightmaps 2023-09-17 21:44:17 -05:00
mat
6a37971420 add ResourcePackEvent event 2023-09-14 18:17:32 -05:00
mat
35d6ac565d upgrade deps 2023-09-08 16:51:32 -05:00
EightFactorial
e6a787f777
Don't crash when missing extra registries (#108)
* Fix decoding on missing Nbt structures

* Fix default and renaming
2023-09-07 12:40:53 -05:00
mat
11d14c74c5
Support properly switching instances (#106)
* start implementing switching dimensions

* fix removeentity in shared worlds

* also store entity ids per local player

* uncomment a trace in pathfinder

* cleanup

---------

Co-authored-by: mat <git@matdoes.dev>
2023-08-24 22:59:40 -05:00
mat
483ce9164e fix writing ClientboundUpdateRecipesPacket 2023-08-22 02:12:12 -05:00
mat
8a90a8e109 fix tests 2023-08-15 23:51:13 -05:00
mat
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -05:00
mat
0a83dc73b4 add try_read to connection 2023-07-16 05:50:02 -05:00
mat
7405427199
Mining (#95)
* more mining stuff

* initialize azalea-tags crate

* more mining stuff 2

* mining in ecs

* well technically mining works but

no codegen for how long it takes to mine each block yet

* rename downloads to __cache__

it was bothering me since it's not *just* downloads

* codegen block behavior

* fix not sending packet to finish breaking block

* mining animation 🎉

* clippy

* cleanup, move Client::mine into a client extension

* add azalea/src/mining.rs

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-14 22:20:40 -05:00
mat
d1afd02aa8
Update to Bevy 0.11 (#94)
* update to bevy 0.11

* clippy

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-09 19:11:29 -05:00
mat
fe687f9bdb fix clientboundsoundpacket
closes #89
2023-06-15 14:37:20 -05:00