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-physics/src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'azalea-physics/src/lib.rs') diff --git a/azalea-physics/src/lib.rs b/azalea-physics/src/lib.rs index 5fe7d218..53818ed3 100644 --- a/azalea-physics/src/lib.rs +++ b/azalea-physics/src/lib.rs @@ -5,7 +5,10 @@ pub mod clip; pub mod collision; use azalea_block::{Block, BlockState}; -use azalea_core::{math, BlockPos, Vec3}; +use azalea_core::{ + math, + position::{BlockPos, Vec3}, +}; use azalea_entity::{ metadata::Sprinting, move_relative, Attributes, InLoadedChunk, Jumping, LocalEntity, LookDirection, Physics, Position, @@ -334,7 +337,7 @@ mod tests { use std::time::Duration; use super::*; - use azalea_core::{ChunkPos, ResourceLocation}; + use azalea_core::{position::ChunkPos, resource_location::ResourceLocation}; use azalea_entity::{EntityBundle, EntityPlugin}; use azalea_world::{Chunk, MinecraftEntityId, PartialInstance}; use bevy_app::App; -- cgit v1.2.3