aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_chunks_biomes_packet.rs
blob: 68b40b5d5664f5222442570519a19fcacc749970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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: Vec<ChunkBiomeData>,
}

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