aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-02 00:24:29 -0500
committermat <github@matdoes.dev>2022-05-02 00:24:29 -0500
commit1e2ec611003770ce889d69545604f164e2ea8fff (patch)
tree7d4ad680391aa912dffeced702dcba26f9228356 /azalea-protocol
parenta24d00d99819166a147af77dc50ff61dff5cb04a (diff)
downloadazalea-drasl-1e2ec611003770ce889d69545604f164e2ea8fff.tar.xz
write some more azalea-world code
Diffstat (limited to 'azalea-protocol')
-rwxr-xr-xazalea-protocol/src/mc_buf/mod.rs6
-rw-r--r--azalea-protocol/src/packets/game/clientbound_level_chunk_with_light_packet.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/azalea-protocol/src/mc_buf/mod.rs b/azalea-protocol/src/mc_buf/mod.rs
index a82334fb..74d69441 100755
--- a/azalea-protocol/src/mc_buf/mod.rs
+++ b/azalea-protocol/src/mc_buf/mod.rs
@@ -1,5 +1,11 @@
//! Utilities for reading and writing for the Minecraft protocol
+// TODO: have a separate azalea-protocol-definitions crate to house everything in mc_buf
+// We need to do this to prevent cyclic dependencies.
+// For example with azalea-protocol depending on azalea-world,
+// it could be changed to azalea-protocol depending on azalea-world
+// and azalea-world depending on azalea-protocol-definitions.
+
mod read;
mod write;
diff --git a/azalea-protocol/src/packets/game/clientbound_level_chunk_with_light_packet.rs b/azalea-protocol/src/packets/game/clientbound_level_chunk_with_light_packet.rs
index abd936dc..0ab581ec 100644
--- a/azalea-protocol/src/packets/game/clientbound_level_chunk_with_light_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_level_chunk_with_light_packet.rs
@@ -28,9 +28,3 @@ pub struct BlockEntity {
}
pub struct ChunkSection {}
-
-impl ClientboundLevelChunkPacketData {
- pub fn read(world_height: u32) {
- // let section_count
- }
-}