aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/config/c_registry_data.rs
blob: 185de4c368a06e57edfba50ed9bb67426eaf4cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;

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: HashMap<ResourceLocation, Option<NbtCompound>>,
}