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

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