aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/nearest_entity.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2026-01-12 02:09:41 -0600
committerGitHub <noreply@github.com>2026-01-12 02:09:41 -0600
commit1accbac964168af5fa0d87cb170389f0a9d01363 (patch)
tree1509b26c19beaa23a492289f6bf00d3958be44d5 /azalea/src/nearest_entity.rs
parent58339b9d229592dee40e15b8648fe4075cc391f4 (diff)
downloadazalea-drasl-1accbac964168af5fa0d87cb170389f0a9d01363.tar.xz
Make Bevy dependencies optional in azalea-protocol (#303)
* Make Bevy dependencies optional in azalea-protocol * derive serde traits on Direction again * update docs for types that may not have Component
Diffstat (limited to 'azalea/src/nearest_entity.rs')
-rw-r--r--azalea/src/nearest_entity.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/nearest_entity.rs b/azalea/src/nearest_entity.rs
index 6e94e331..bf3f2fdb 100644
--- a/azalea/src/nearest_entity.rs
+++ b/azalea/src/nearest_entity.rs
@@ -1,5 +1,6 @@
+use azalea_core::entity_id::MinecraftEntityId;
use azalea_entity::Position;
-use azalea_world::{InstanceName, MinecraftEntityId};
+use azalea_world::InstanceName;
use bevy_ecs::{
prelude::Entity,
query::{QueryFilter, With},