aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2023-02-07 20:30:47 +0000
committerUbuntu <github@matdoes.dev>2023-02-07 20:30:53 +0000
commitaa886c101b398f52372df6054c00f9387428cac6 (patch)
treed95dee23fe28637fc0ca1a5eb49943adc84afe2f /azalea-client/src
parentd51b2a29b2911e4be480727e56553fa27cfbfce0 (diff)
downloadazalea-drasl-aa886c101b398f52372df6054c00f9387428cac6.tar.xz
move az_world::entity_info to az_world::entities::info
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs2
-rw-r--r--azalea-client/src/local_player.rs2
-rw-r--r--azalea-client/src/packet_handling.rs3
-rwxr-xr-xazalea-client/src/player.rs2
4 files changed, 5 insertions, 4 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index ddeeeef3..87079af4 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -42,7 +42,7 @@ use azalea_protocol::{
},
resolver, ServerAddress,
};
-use azalea_world::{entity::WorldName, EntityPlugin, Local, PartialWorld, World, WorldContainer};
+use azalea_world::{entity::{WorldName, EntityPlugin, Local}, PartialWorld, World, WorldContainer};
use log::{debug, error};
use parking_lot::{Mutex, RwLock};
use std::{collections::HashMap, fmt::Debug, io, net::SocketAddr, sync::Arc};
diff --git a/azalea-client/src/local_player.rs b/azalea-client/src/local_player.rs
index a6921d76..23a08bd0 100644
--- a/azalea-client/src/local_player.rs
+++ b/azalea-client/src/local_player.rs
@@ -28,7 +28,7 @@ use crate::{
/// You can also use the [`Local`] marker component for queries if you're only
/// checking for a local player and don't need the contents of this component.
///
-/// [`Local`]: azalea_world::Local
+/// [`Local`]: azalea_world::entity::Local
/// [`Client`]: crate::Client
#[derive(Component)]
pub struct LocalPlayer {
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs
index 42e24462..0e03b37c 100644
--- a/azalea-client/src/packet_handling.rs
+++ b/azalea-client/src/packet_handling.rs
@@ -28,7 +28,8 @@ use azalea_world::{
set_rotation, Dead, EntityBundle, EntityKind, LastSentPosition, MinecraftEntityId, Physics,
PlayerBundle, Position, WorldName,
},
- LoadedBy, PartialWorld, RelativeEntityUpdate, WorldContainer,
+ entity::{LoadedBy, RelativeEntityUpdate},
+ PartialWorld, WorldContainer,
};
use log::{debug, error, trace, warn};
use parking_lot::Mutex;
diff --git a/azalea-client/src/player.rs b/azalea-client/src/player.rs
index 00b6b25e..b8ca83bb 100755
--- a/azalea-client/src/player.rs
+++ b/azalea-client/src/player.rs
@@ -5,7 +5,7 @@ use azalea_ecs::{
event::EventReader,
system::{Commands, Res},
};
-use azalea_world::EntityInfos;
+use azalea_world::entity::EntityInfos;
use uuid::Uuid;
use crate::{packet_handling::AddPlayerEvent, GameProfileComponent};