From 388b0fc0f294f1b7c47853e34cedf2b9a1b4e49d Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 May 2022 15:19:51 -0500 Subject: ClientboundUpdateAttributesPacket & ClientboundEntityVelocityPacket --- azalea-client/src/connect.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'azalea-client') 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!(); -- cgit v1.2.3