aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-02-24 00:39:38 -0600
committermat <git@matdoes.dev>2024-02-24 00:39:38 -0600
commit64fceff1cc65ee1dd1c72f08004e40179be9f9a4 (patch)
tree3df2fa5c0d3551f8b124858c208fa44a5e927f1b /azalea-entity
parent5c85158e7ca6bbd357be520029326c08d456a107 (diff)
downloadazalea-drasl-64fceff1cc65ee1dd1c72f08004e40179be9f9a4.tar.xz
track entity rotations
Diffstat (limited to 'azalea-entity')
-rw-r--r--azalea-entity/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs
index eb5b5b25..f39a6e4f 100644
--- a/azalea-entity/src/lib.rs
+++ b/azalea-entity/src/lib.rs
@@ -203,7 +203,7 @@ impl From<&LastSentPosition> for BlockPos {
pub struct Jumping(bool);
/// A component that contains the direction an entity is looking.
-#[derive(Debug, Component, Clone, Default)]
+#[derive(Debug, Component, Clone, Default, PartialEq)]
pub struct LookDirection {
pub x_rot: f32,
pub y_rot: f32,