aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/interact/mod.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-15 11:14:40 +0930
committermat <git@matdoes.dev>2025-12-15 11:14:40 +0930
commitdcbd690f21665e22ea250024a1aa85dec34e6c9e (patch)
tree411c76eb92ca1cfe284e56f47bc0abd4079a3364 /azalea-client/src/plugins/interact/mod.rs
parentb0a2a809331b0f781517649857d31e0aec67d300 (diff)
downloadazalea-drasl-dcbd690f21665e22ea250024a1aa85dec34e6c9e.tar.xz
sort derives with cargo sort-derives
might add to ci later, unsure how to do it without adding significant friction for contributors though
Diffstat (limited to 'azalea-client/src/plugins/interact/mod.rs')
-rw-r--r--azalea-client/src/plugins/interact/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-client/src/plugins/interact/mod.rs b/azalea-client/src/plugins/interact/mod.rs
index 8269197c..df614b8a 100644
--- a/azalea-client/src/plugins/interact/mod.rs
+++ b/azalea-client/src/plugins/interact/mod.rs
@@ -82,7 +82,7 @@ impl Plugin for InteractPlugin {
}
}
-#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)]
+#[derive(Clone, Debug, Eq, Hash, PartialEq, SystemSet)]
pub struct UpdateAttributesSystems;
impl Client {
@@ -133,7 +133,7 @@ impl Client {
/// A component that contains information about our local block state
/// predictions.
-#[derive(Component, Clone, Debug, Default)]
+#[derive(Clone, Component, Debug, Default)]
pub struct BlockStatePredictionHandler {
/// The total number of changes that this client has made to blocks.
seq: u32,
@@ -351,7 +351,7 @@ pub fn handle_start_use_item_queued(
/// An ECS `Event` that makes the client tell the server that we right-clicked
/// an entity.
-#[derive(EntityEvent, Clone, Debug)]
+#[derive(Clone, Debug, EntityEvent)]
pub struct EntityInteractEvent {
#[event_target]
pub client: Entity,
@@ -498,7 +498,7 @@ pub fn can_use_game_master_blocks(
///
/// This is purely a visual effect and won't interact with anything in the
/// world.
-#[derive(EntityEvent, Clone, Debug)]
+#[derive(Clone, Debug, EntityEvent)]
pub struct SwingArmEvent {
pub entity: Entity,
}