From 64fceff1cc65ee1dd1c72f08004e40179be9f9a4 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 24 Feb 2024 00:39:38 -0600 Subject: track entity rotations --- azalea-entity/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-entity/src') 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, -- cgit v1.2.3