aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics
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-physics
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-physics')
-rw-r--r--azalea-physics/Cargo.toml2
-rw-r--r--azalea-physics/tests/physics.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/azalea-physics/Cargo.toml b/azalea-physics/Cargo.toml
index 68c3fbe8..33a669c1 100644
--- a/azalea-physics/Cargo.toml
+++ b/azalea-physics/Cargo.toml
@@ -12,7 +12,7 @@ uuid.workspace = true
[dependencies]
azalea-block.workspace = true
azalea-core.workspace = true
-azalea-entity.workspace = true
+azalea-entity = { workspace = true, features = ["bevy_ecs"] }
azalea-inventory.workspace = true
azalea-registry.workspace = true
azalea-world.workspace = true
diff --git a/azalea-physics/tests/physics.rs b/azalea-physics/tests/physics.rs
index 57747692..42dcf809 100644
--- a/azalea-physics/tests/physics.rs
+++ b/azalea-physics/tests/physics.rs
@@ -5,6 +5,7 @@ use azalea_block::{
properties::WaterLevel,
};
use azalea_core::{
+ entity_id::MinecraftEntityId,
position::{BlockPos, ChunkPos, Vec3},
registry_holder::RegistryHolder,
tick::GameTick,
@@ -15,7 +16,7 @@ use azalea_registry::{
builtin::{BlockKind, EntityKind},
identifier::Identifier,
};
-use azalea_world::{Chunk, Instance, InstanceContainer, MinecraftEntityId, PartialInstance};
+use azalea_world::{Chunk, Instance, InstanceContainer, PartialInstance};
use bevy_app::App;
use parking_lot::RwLock;
use uuid::Uuid;