From b08d3d55d7351eff6e27a09d732078c038539958 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 2 Feb 2025 21:15:45 +0000 Subject: start implementing data driven registries --- azalea-protocol/src/packets/config/c_registry_data.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'azalea-protocol/src') diff --git a/azalea-protocol/src/packets/config/c_registry_data.rs b/azalea-protocol/src/packets/config/c_registry_data.rs index 185de4c3..5b43413d 100644 --- a/azalea-protocol/src/packets/config/c_registry_data.rs +++ b/azalea-protocol/src/packets/config/c_registry_data.rs @@ -1,5 +1,3 @@ -use std::collections::HashMap; - use azalea_buf::AzBuf; use azalea_core::resource_location::ResourceLocation; use azalea_protocol_macros::ClientboundConfigPacket; @@ -8,5 +6,5 @@ use simdnbt::owned::NbtCompound; #[derive(Clone, Debug, AzBuf, ClientboundConfigPacket)] pub struct ClientboundRegistryData { pub registry_id: ResourceLocation, - pub entries: HashMap>, + pub entries: Vec<(ResourceLocation, Option)>, } -- cgit v1.2.3