From befa33a87950b6d0f3364cb4fe603f6d84bf4b8f Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 Oct 2023 15:19:13 -0500 Subject: organize azalea_core and re-export it from azalea --- azalea/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'azalea/src/lib.rs') diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs index b6cd4e9d..5c1edf77 100644 --- a/azalea/src/lib.rs +++ b/azalea/src/lib.rs @@ -20,7 +20,12 @@ pub use azalea_block as blocks; pub use azalea_brigadier as brigadier; pub use azalea_chat::FormattedText; pub use azalea_client::*; -pub use azalea_core::{BlockPos, ChunkPos, ResourceLocation, Vec3}; +pub use azalea_core as core; +// these are re-exported on this level because they're very common +pub use azalea_core::{ + position::{BlockPos, Vec3}, + resource_location::ResourceLocation, +}; pub use azalea_entity as entity; pub use azalea_protocol as protocol; pub use azalea_registry as registry; -- cgit v1.2.3