diff options
| author | mat <git@matdoes.dev> | 2023-10-01 15:19:13 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-10-01 15:19:13 -0500 |
| commit | befa33a87950b6d0f3364cb4fe603f6d84bf4b8f (patch) | |
| tree | b46f2b76d4f7c66aef05759d33de68d88904c45b /azalea/src/lib.rs | |
| parent | 33e823d6fab990efaa735c05e4b0c42636003b76 (diff) | |
| download | azalea-drasl-befa33a87950b6d0f3364cb4fe603f6d84bf4b8f.tar.xz | |
organize azalea_core and re-export it from azalea
Diffstat (limited to 'azalea/src/lib.rs')
| -rw-r--r-- | azalea/src/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
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; |
