From 9dacd90abcfaa62ade1e4f130ed53da2c9facdbc Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 May 2022 13:51:59 -0500 Subject: clientbound_add_entity_packet & clientbound_set_entity_data_packet --- azalea-client/README.md | 2 +- azalea-client/src/connect.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'azalea-client') diff --git a/azalea-client/README.md b/azalea-client/README.md index 9b51356e..296cab07 100755 --- a/azalea-client/README.md +++ b/azalea-client/README.md @@ -1,3 +1,3 @@ # Azalea Client -A library that can mimic everything a normal Minecraft client can do. If you want to make a bot with higher-level functions, you should use `azalea` instead. +A library that can mimic everything a normal Minecraft client can do. If you want to make a bot with higher-level functions, you should use the `azalea` crate instead. diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index b6915fe8..c09d7d9e 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -200,7 +200,7 @@ impl Client { println!("Got update tags packet"); } GamePacket::ClientboundDisconnectPacket(p) => { - println!("Got login disconnect packet {:?}", p); + println!("Got disconnect packet {:?}", p); } GamePacket::ClientboundUpdateRecipesPacket(p) => { println!("Got update recipes packet"); @@ -230,6 +230,9 @@ impl Client { GamePacket::ClientboundAddMobPacket(p) => { println!("Got add mob packet {:?}", p); } + GamePacket::ClientboundAddEntityPacket(p) => { + println!("Got add entity packet {:?}", p); + } _ => panic!("Unexpected packet {:?}", packet), } println!(); -- cgit v1.2.3