aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-06-17 20:46:16 -0500
committermat <github@matdoes.dev>2022-06-17 20:46:16 -0500
commitf993e79a7e6acc7aadd1e6cf9462d7a3e2c3ac3e (patch)
tree43968ba301274358a74399a5ed3d73f5204e7046 /azalea-client/src
parentfcdb6d31eeb93887caae104724b230196a0fc5bc (diff)
downloadazalea-drasl-f993e79a7e6acc7aadd1e6cf9462d7a3e2c3ac3e.tar.xz
Create azalea-entity
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/entity.rs8
-rwxr-xr-xazalea-client/src/lib.rs2
-rw-r--r--azalea-client/src/player.rs2
3 files changed, 1 insertions, 11 deletions
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 {