aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_set_structure_block.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-protocol/src/packets/game/s_set_structure_block.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-protocol/src/packets/game/s_set_structure_block.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_set_structure_block.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/s_set_structure_block.rs b/azalea-protocol/src/packets/game/s_set_structure_block.rs
index 401116a1..c4387b0f 100644
--- a/azalea-protocol/src/packets/game/s_set_structure_block.rs
+++ b/azalea-protocol/src/packets/game/s_set_structure_block.rs
@@ -6,7 +6,7 @@ use azalea_protocol_macros::ServerboundGamePacket;
use crate::packets::BufReadError;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
pub struct ServerboundSetStructureBlock {
pub pos: BlockPos,
pub update_type: UpdateType,
@@ -23,7 +23,7 @@ pub struct ServerboundSetStructureBlock {
pub flags: Flags,
}
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct BytePosition {
pub x: u8,
pub y: u8,
@@ -63,7 +63,7 @@ pub enum Rotation {
Counterclockwise90 = 3,
}
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Clone, Debug, PartialEq)]
pub struct Flags {
pub ignore_entities: bool,
pub show_air: bool,