Skip to content

Commit

Permalink
Made Hunger and DataComponentPatch public (#167)
Browse files Browse the repository at this point in the history
* Made `Hunger` component public

* Made `DataComponentPatch` public
  • Loading branch information
AS1100K authored Jul 20, 2024
1 parent 4ee0b78 commit 7e93c2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azalea-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion azalea-inventory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e93c2d

Please sign in to comment.