diff options
| author | mat <github@matdoes.dev> | 2022-05-07 20:34:53 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-07 20:34:53 -0500 |
| commit | 49454781cf02c85e065cf1cf4de22701175f3f13 (patch) | |
| tree | 6af09cf725016a50e1a5dfd2ef7d64629f5a8160 /azalea-client/src | |
| parent | d8049a5d0c9a2c79d576785dc1681ae60e44a04b (diff) | |
| download | azalea-drasl-49454781cf02c85e065cf1cf4de22701175f3f13.tar.xz | |
add move packets
Diffstat (limited to 'azalea-client/src')
| -rwxr-xr-x | azalea-client/src/connect.rs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index 0fc7273b..f04eb25d 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -250,7 +250,7 @@ impl Client { // println!("Got update attributes packet {:?}", p); } GamePacket::ClientboundEntityVelocityPacket(p) => { - println!("Got entity velocity packet {:?}", p); + // println!("Got entity velocity packet {:?}", p); } GamePacket::ClientboundSetEntityLinkPacket(p) => { println!("Got set entity link packet {:?}", p); @@ -283,10 +283,16 @@ impl Client { println!("Got update advancements packet {:?}", p); } GamePacket::ClientboundRotateHeadPacket(p) => { - println!("Got rotate head packet {:?}", p); + // println!("Got rotate head packet {:?}", p); } - GamePacket::ClientboundMoveEntityPacket(p) => { - println!("Got move entity packet {:?}", p); + GamePacket::ClientboundMoveEntityPosPacket(p) => { + // println!("Got move entity pos packet {:?}", p); + } + GamePacket::ClientboundMoveEntityPosRotPacket(p) => { + // println!("Got move entity pos rot packet {:?}", p); + } + GamePacket::ClientboundMoveEntityRotPacket(p) => { + println!("Got move entity rot packet {:?}", p); } _ => panic!("Unexpected packet {:?}", packet), } |
