From f9c25665c203d6377ace62f1e95381d037d8fd9e Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Fri, 12 Dec 2025 00:56:02 -0600 Subject: Refactor azalea-registry (#294) * move registries in azalea-registry into separate modules * rename Item and Block to ItemKind and BlockKind * remove 'extra' registries from azalea-registry * hide deprecated items from docs * use DamageKindKey instead of Identifier when parsing registries * store tag entries as a Vec instead of a HashSet * sort tag values by protocol id * update changelog --- azalea-client/src/plugins/inventory/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-client/src/plugins/inventory/mod.rs') diff --git a/azalea-client/src/plugins/inventory/mod.rs b/azalea-client/src/plugins/inventory/mod.rs index f0d4a9ce..93be9e96 100644 --- a/azalea-client/src/plugins/inventory/mod.rs +++ b/azalea-client/src/plugins/inventory/mod.rs @@ -10,7 +10,7 @@ use azalea_protocol::packets::game::{ s_container_close::ServerboundContainerClose, s_set_carried_item::ServerboundSetCarriedItem, }; -use azalea_registry::MenuKind; +use azalea_registry::builtin::MenuKind; use azalea_world::{InstanceContainer, InstanceName}; use bevy_app::{App, Plugin}; use bevy_ecs::prelude::*; @@ -25,6 +25,7 @@ use crate::{ // TODO: when this is removed, remove the Inv alias above (which just exists to // avoid conflicting with this pub deprecated type) +#[doc(hidden)] #[deprecated = "moved to `azalea_entity::inventory::Inventory`."] pub type Inventory = azalea_entity::inventory::Inventory; -- cgit v1.2.3