From 7e93c2d766f15e6559bfe10913f0964e43a79092 Mon Sep 17 00:00:00 2001 From: Aditya Kumar <117935160+AS1100K@users.noreply.github.com> Date: Sat, 20 Jul 2024 16:15:25 +0530 Subject: [PATCH] Made `Hunger` and `DataComponentPatch` public (#167) * Made `Hunger` component public * Made `DataComponentPatch` public --- azalea-client/src/lib.rs | 2 +- azalea-inventory/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azalea-client/src/lib.rs b/azalea-client/src/lib.rs index ec19e3ace..179216738 100644 --- a/azalea-client/src/lib.rs +++ b/azalea-client/src/lib.rs @@ -36,7 +36,7 @@ pub use client::{ TickBroadcast, }; pub use events::Event; -pub use local_player::{GameProfileComponent, InstanceHolder, TabList}; +pub use local_player::{GameProfileComponent, InstanceHolder, TabList, Hunger}; pub use movement::{ PhysicsState, SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection, }; diff --git a/azalea-inventory/src/lib.rs b/azalea-inventory/src/lib.rs index ba14eff8d..876269e54 100644 --- a/azalea-inventory/src/lib.rs +++ b/azalea-inventory/src/lib.rs @@ -9,7 +9,7 @@ mod slot; use std::ops::{Deref, DerefMut, RangeInclusive}; use azalea_inventory_macros::declare_menus; -pub use slot::{ItemSlot, ItemSlotData}; +pub use slot::{ItemSlot, ItemSlotData, DataComponentPatch}; // TODO: remove this here and in azalea-inventory-macros when rust makes // Default be implemented for all array sizes