aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client')
-rwxr-xr-xazalea-client/Cargo.toml1
-rw-r--r--azalea-client/src/entity.rs8
-rwxr-xr-xazalea-client/src/lib.rs2
-rw-r--r--azalea-client/src/player.rs2
4 files changed, 2 insertions, 11 deletions
diff --git a/azalea-client/Cargo.toml b/azalea-client/Cargo.toml
index 1156f8de..cc34f03a 100755
--- a/azalea-client/Cargo.toml
+++ b/azalea-client/Cargo.toml
@@ -9,6 +9,7 @@ version = "0.1.0"
azalea-auth = {path = "../azalea-auth"}
azalea-core = {path = "../azalea-core"}
azalea-crypto = {path = "../azalea-crypto"}
+azalea-entity = {path = "../azalea-entity"}
azalea-protocol = {path = "../azalea-protocol"}
azalea-world = {path = "../azalea-world"}
tokio = {version = "1.18.0", features = ["sync"]}
diff --git a/azalea-client/src/entity.rs b/azalea-client/src/entity.rs
deleted file mode 100644
index d91f556f..00000000
--- a/azalea-client/src/entity.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-use azalea_core::EntityPos;
-
-#[derive(Default, Debug)]
-pub struct Entity {
- /// The incremental numerical id of the entity.
- pub id: u32,
- pub pos: EntityPos,
-}
diff --git a/azalea-client/src/lib.rs b/azalea-client/src/lib.rs
index 5814687a..db935897 100755
--- a/azalea-client/src/lib.rs
+++ b/azalea-client/src/lib.rs
@@ -1,12 +1,10 @@
//! Significantly abstract azalea-protocol so it's actually useable for bots.
mod connect;
-mod entity;
pub mod ping;
mod player;
pub use connect::{Account, Client, Event};
-pub use entity::Entity;
pub use player::Player;
#[cfg(test)]
diff --git a/azalea-client/src/player.rs b/azalea-client/src/player.rs
index 04d34f6d..9a5ba8ab 100644
--- a/azalea-client/src/player.rs
+++ b/azalea-client/src/player.rs
@@ -1,4 +1,4 @@
-use crate::Entity;
+use azalea_entity::Entity;
#[derive(Default, Debug)]
pub struct Player {