aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-02 23:07:06 +0000
committermat <github@matdoes.dev>2022-05-02 23:07:06 +0000
commit8e42e1c5dfc54314585b564696044780e0407c2f (patch)
tree6527645ffbe05cb37716b00e2be9fc48d956a12b /azalea-client
parent1e2ec611003770ce889d69545604f164e2ea8fff (diff)
downloadazalea-drasl-8e42e1c5dfc54314585b564696044780e0407c2f.tar.xz
more chunk and readme stuff
Diffstat (limited to 'azalea-client')
-rwxr-xr-xazalea-client/Cargo.toml1
-rwxr-xr-xazalea-client/src/connect.rs3
2 files changed, 3 insertions, 1 deletions
diff --git a/azalea-client/Cargo.toml b/azalea-client/Cargo.toml
index 55caadeb..1156f8de 100755
--- a/azalea-client/Cargo.toml
+++ b/azalea-client/Cargo.toml
@@ -10,4 +10,5 @@ azalea-auth = {path = "../azalea-auth"}
azalea-core = {path = "../azalea-core"}
azalea-crypto = {path = "../azalea-crypto"}
azalea-protocol = {path = "../azalea-protocol"}
+azalea-world = {path = "../azalea-world"}
tokio = {version = "1.18.0", features = ["sync"]}
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs
index b628051a..be268eee 100755
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -13,6 +13,7 @@ use azalea_protocol::{
},
resolver, ServerAddress,
};
+use azalea_world::Chunk;
use std::sync::Arc;
use tokio::sync::mpsc::{self, UnboundedReceiver, UnboundedSender};
use tokio::sync::Mutex;
@@ -233,7 +234,7 @@ impl Client {
}
GamePacket::ClientboundLevelChunkWithLightPacket(p) => {
println!("Got chunk with light packet {} {}", p.x, p.z);
- // p.chunk_data
+ // let chunk = Chunk::read_with_world_height(&mut p.chunk_data);
}
GamePacket::ClientboundLightUpdatePacket(p) => {
println!("Got light update packet {:?}", p);