From 1accbac964168af5fa0d87cb170389f0a9d01363 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Mon, 12 Jan 2026 02:09:41 -0600 Subject: 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 --- azalea-client/src/plugins/packet/game/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-client/src/plugins/packet') diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs index 93057ef4..f93a02ea 100644 --- a/azalea-client/src/plugins/packet/game/mod.rs +++ b/azalea-client/src/plugins/packet/game/mod.rs @@ -3,6 +3,7 @@ mod events; use std::{collections::HashSet, sync::Arc}; use azalea_core::{ + entity_id::MinecraftEntityId, game_type::GameMode, position::{ChunkPos, Vec3}, }; @@ -18,7 +19,7 @@ use azalea_protocol::{ packets::{ConnectionProtocol, game::*}, }; use azalea_registry::builtin::EntityKind; -use azalea_world::{InstanceContainer, InstanceName, MinecraftEntityId, PartialInstance}; +use azalea_world::{InstanceContainer, InstanceName, PartialInstance}; use bevy_ecs::{prelude::*, system::SystemState}; pub use events::*; use tracing::{debug, error, trace, warn}; -- cgit v1.2.3