1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

Made Hunger and DataComponentPatch public (#167)

* Made `Hunger` component public

* Made `DataComponentPatch` public
This commit is contained in:
Aditya Kumar 2024-07-20 16:15:25 +05:30 committed by GitHub
parent 4ee0b784ea
commit 7e93c2d766
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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,
};

View file

@ -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