aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-28 19:51:31 -0500
committermat <github@matdoes.dev>2022-04-28 19:51:31 -0500
commitb6fb96429c4530530f46e5deb5998f2249e5124e (patch)
tree0fe8a5b2b5823f978d85438c633cbf80fa7ad82d /azalea-client/src
parent1ca9caee36fb84e4a34be4d6b11399fcea8e8389 (diff)
downloadazalea-drasl-b6fb96429c4530530f46e5deb5998f2249e5124e.tar.xz
chunk packets work
Diffstat (limited to 'azalea-client/src')
-rwxr-xr-xazalea-client/src/connect.rs14
1 files changed, 10 insertions, 4 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs
index 0146c81f..d7345f68 100755
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -100,7 +100,7 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> {
println!("Got difficulty packet {:?}", p);
}
GamePacket::ClientboundDeclareCommandsPacket(p) => {
- println!("Got declare commands packet {:?}", p);
+ println!("Got declare commands packet");
}
GamePacket::ClientboundPlayerAbilitiesPacket(p) => {
println!("Got player abilities packet {:?}", p);
@@ -109,19 +109,19 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> {
println!("Got set carried item packet {:?}", p);
}
GamePacket::ClientboundUpdateTagsPacket(p) => {
- println!("Got update tags packet {:?}", p);
+ println!("Got update tags packet");
}
GamePacket::ClientboundDisconnectPacket(p) => {
println!("Got login disconnect packet {:?}", p);
}
GamePacket::ClientboundUpdateRecipesPacket(p) => {
- println!("Got update recipes packet {:?}", p);
+ println!("Got update recipes packet");
}
GamePacket::ClientboundEntityEventPacket(p) => {
println!("Got entity event packet {:?}", p);
}
GamePacket::ClientboundRecipePacket(p) => {
- println!("Got recipe packet {:?}", p);
+ println!("Got recipe packet");
}
GamePacket::ClientboundPlayerPositionPacket(p) => {
// TODO: reply with teleport confirm
@@ -133,6 +133,12 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> {
GamePacket::ClientboundSetChunkCacheCenterPacket(p) => {
println!("Got chunk cache center packet {:?}", p);
}
+ GamePacket::ClientboundLevelChunkWithLightPacket(p) => {
+ println!("Got chunk with light packet");
+ }
+ GamePacket::ClientboundLightUpdatePacket(p) => {
+ println!("Got light update packet {:?}", p);
+ }
},
Err(e) => {
panic!("Error: {:?}", e);