Repository: azalea-rs/azalea (language: rust)

Issue:
`Hunger` and `DataComponentPatch` component are not public
Well `Hunger` is an important component and it is only accessible by `Client` i.e. in ecs environment it can't be used.

This is also similar with `DataComponentPatch` as it holds a lot of information about the item.

I have fixed these in my [fork](https://github.com/as1100k-forks/azalea) but azalea should have these components public by default.

_I came across these component, there can be more components which aren't public_


Discussion / hints:

Fix patch:
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


Test patch: