aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/config/c_registry_data.rs
blob: edafbcf4ed214428dd9979086ee63ee59fd218be (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ClientboundConfigPacket;
use simdnbt::owned::NbtCompound;

#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundRegistryData {
    pub registry_id: Identifier,
    pub entries: Vec<(Identifier, Option<NbtCompound>)>,
}