diff options
| author | Aditya Kumar <117935160+AS1100K@users.noreply.github.com> | 2024-07-20 16:15:25 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-20 05:45:25 -0500 |
| commit | 7e93c2d766f15e6559bfe10913f0964e43a79092 (patch) | |
| tree | 246b2be1ae4f28d9a10d8815fafffb507e2e9754 | |
| parent | 4ee0b784ea26156445711e605055b7406591621e (diff) | |
| download | azalea-drasl-7e93c2d766f15e6559bfe10913f0964e43a79092.tar.xz | |
Made `Hunger` and `DataComponentPatch` public (#167)
* Made `Hunger` component public
* Made `DataComponentPatch` public
| -rw-r--r-- | azalea-client/src/lib.rs | 2 | ||||
| -rw-r--r-- | 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 ec19e3ac..17921673 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 ba14eff8..876269e5 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 |
