azalea_protocol/packets/game/
clientbound_chunks_biomes_packet.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use azalea_buf::McBuf;
use azalea_core::position::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>,
}