aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2023-03-14 16:33:03 -0500
committerGitHub <noreply@github.com>2023-03-14 16:33:03 -0500
commit12a9c8ce65b58f0c600fd7b9fc5d454ce228b420 (patch)
tree9bada4164ea12fa533d413c0c7090f4779b519f1 /azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs
parentb792e21d1c2b7dba04d88dba479ed451104a6514 (diff)
downloadazalea-drasl-12a9c8ce65b58f0c600fd7b9fc5d454ce228b420.tar.xz
1.19.4 (#57)
* 23w03a * 23w04a * 23w05a * 23w06a * fix * 23w07a mojang broke their json data generator so some stuff is missing * didn't mean to commit that file here * 1.19.4-pre2 * fix * 1.19.4-pre3 * fix * how did these packets get here * 1.19.4-pre4 * 1.19.4-rc1 * 1.19.4-rc2 * 1.19.4-rc3 * merge main * remove debugging code * 1.19.4
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs13
1 files changed, 10 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs b/azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs
index 9ad242a4..68b40b5d 100644
--- a/azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs
@@ -1,7 +1,14 @@
-use azalea_protocol_macros::ClientboundGamePacket;
use azalea_buf::McBuf;
+use azalea_core::ChunkPos;
+use azalea_protocol_macros::ClientboundGamePacket;
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundChunksBiomesPacket {
-pub chunk_biome_data: todo!(),
-} \ No newline at end of file
+ pub chunk_biome_data: Vec<ChunkBiomeData>,
+}
+
+#[derive(Clone, Debug, McBuf)]
+pub struct ChunkBiomeData {
+ pub pos: ChunkPos,
+ pub buffer: Vec<u8>,
+}