diff options
| author | mat <github@matdoes.dev> | 2022-05-01 15:19:51 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-01 15:19:51 -0500 |
| commit | 388b0fc0f294f1b7c47853e34cedf2b9a1b4e49d (patch) | |
| tree | 7463acc478252e7f96931132a9a823ae365df606 /azalea-client | |
| parent | 1a68d55eaf8cb2a108bf850776ee81c74ebaaf5a (diff) | |
| download | azalea-drasl-388b0fc0f294f1b7c47853e34cedf2b9a1b4e49d.tar.xz | |
ClientboundUpdateAttributesPacket & ClientboundEntityVelocityPacket
Diffstat (limited to 'azalea-client')
| -rwxr-xr-x | azalea-client/src/connect.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index ec3e122f..d28f2067 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -43,6 +43,7 @@ pub enum Event { Login, } +/// Whether we should ignore errors when decoding packets. const IGNORE_ERRORS: bool = false; impl Client { @@ -245,6 +246,12 @@ impl Client { GamePacket::ClientboundSetEntityDataPacket(p) => { println!("Got set entity data packet {:?}", p); } + GamePacket::ClientboundUpdateAttributesPacket(p) => { + println!("Got update attributes packet {:?}", p); + } + GamePacket::ClientboundEntityVelocityPacket(p) => { + println!("Got entity velocity packet {:?}", p); + } _ => panic!("Unexpected packet {:?}", packet), } println!(); |
