aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_chunks_biomes.rs
blob: a8e65af49237373bb67f1e4f7eef102a1560b2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use azalea_buf::AzBuf;
use azalea_core::position::ChunkPos;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundChunksBiomes {
    pub chunk_biome_data: Vec<ChunkBiomeData>,
}

#[derive(Clone, Debug, AzBuf)]
pub struct ChunkBiomeData {
    pub pos: ChunkPos,
    pub buffer: Vec<u8>,
}