aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/config
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/config')
-rw-r--r--azalea-protocol/src/packets/config/c_clear_dialog.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_code_of_conduct.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_cookie_request.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_custom_payload.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_custom_report_details.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_disconnect.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_finish_configuration.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_keep_alive.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_ping.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_registry_data.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_reset_chat.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_resource_pack_pop.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_resource_pack_push.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_select_known_packs.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_server_links.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_show_dialog.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_store_cookie.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_transfer.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_update_enabled_features.rs2
-rw-r--r--azalea-protocol/src/packets/config/c_update_tags.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_accept_code_of_conduct.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_client_information.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_cookie_response.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_custom_click_action.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_custom_payload.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_finish_configuration.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_keep_alive.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_pong.rs2
-rw-r--r--azalea-protocol/src/packets/config/s_resource_pack.rs4
-rw-r--r--azalea-protocol/src/packets/config/s_select_known_packs.rs4
30 files changed, 32 insertions, 32 deletions
diff --git a/azalea-protocol/src/packets/config/c_clear_dialog.rs b/azalea-protocol/src/packets/config/c_clear_dialog.rs
index a4945516..8230efe4 100644
--- a/azalea-protocol/src/packets/config/c_clear_dialog.rs
+++ b/azalea-protocol/src/packets/config/c_clear_dialog.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundClearDialog;
diff --git a/azalea-protocol/src/packets/config/c_code_of_conduct.rs b/azalea-protocol/src/packets/config/c_code_of_conduct.rs
index 03f133a8..9550a8b9 100644
--- a/azalea-protocol/src/packets/config/c_code_of_conduct.rs
+++ b/azalea-protocol/src/packets/config/c_code_of_conduct.rs
@@ -1,7 +1,7 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundCodeOfConduct {
pub code_of_conduct: String,
}
diff --git a/azalea-protocol/src/packets/config/c_cookie_request.rs b/azalea-protocol/src/packets/config/c_cookie_request.rs
index 0edbf21e..87d7f373 100644
--- a/azalea-protocol/src/packets/config/c_cookie_request.rs
+++ b/azalea-protocol/src/packets/config/c_cookie_request.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundCookieRequest {
pub key: Identifier,
}
diff --git a/azalea-protocol/src/packets/config/c_custom_payload.rs b/azalea-protocol/src/packets/config/c_custom_payload.rs
index c9417dcd..6f4a6d89 100644
--- a/azalea-protocol/src/packets/config/c_custom_payload.rs
+++ b/azalea-protocol/src/packets/config/c_custom_payload.rs
@@ -2,7 +2,7 @@ use azalea_buf::{AzBuf, UnsizedByteArray};
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundCustomPayload {
pub identifier: Identifier,
pub data: UnsizedByteArray,
diff --git a/azalea-protocol/src/packets/config/c_custom_report_details.rs b/azalea-protocol/src/packets/config/c_custom_report_details.rs
index 38209dd8..74e04f32 100644
--- a/azalea-protocol/src/packets/config/c_custom_report_details.rs
+++ b/azalea-protocol/src/packets/config/c_custom_report_details.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
use indexmap::IndexMap;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundCustomReportDetails {
pub details: IndexMap<String, String>,
}
diff --git a/azalea-protocol/src/packets/config/c_disconnect.rs b/azalea-protocol/src/packets/config/c_disconnect.rs
index 37915b38..c08b1baa 100644
--- a/azalea-protocol/src/packets/config/c_disconnect.rs
+++ b/azalea-protocol/src/packets/config/c_disconnect.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_chat::FormattedText;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundDisconnect {
pub reason: FormattedText,
}
diff --git a/azalea-protocol/src/packets/config/c_finish_configuration.rs b/azalea-protocol/src/packets/config/c_finish_configuration.rs
index 2cfe64fd..6ea7aed3 100644
--- a/azalea-protocol/src/packets/config/c_finish_configuration.rs
+++ b/azalea-protocol/src/packets/config/c_finish_configuration.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundFinishConfiguration;
diff --git a/azalea-protocol/src/packets/config/c_keep_alive.rs b/azalea-protocol/src/packets/config/c_keep_alive.rs
index 575ff52e..184e92dd 100644
--- a/azalea-protocol/src/packets/config/c_keep_alive.rs
+++ b/azalea-protocol/src/packets/config/c_keep_alive.rs
@@ -1,7 +1,7 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundKeepAlive {
pub id: u64,
}
diff --git a/azalea-protocol/src/packets/config/c_ping.rs b/azalea-protocol/src/packets/config/c_ping.rs
index 82a83692..123ca907 100644
--- a/azalea-protocol/src/packets/config/c_ping.rs
+++ b/azalea-protocol/src/packets/config/c_ping.rs
@@ -1,7 +1,7 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundPing {
pub id: u32,
}
diff --git a/azalea-protocol/src/packets/config/c_registry_data.rs b/azalea-protocol/src/packets/config/c_registry_data.rs
index cb46958c..edafbcf4 100644
--- a/azalea-protocol/src/packets/config/c_registry_data.rs
+++ b/azalea-protocol/src/packets/config/c_registry_data.rs
@@ -3,7 +3,7 @@ use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ClientboundConfigPacket;
use simdnbt::owned::NbtCompound;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundRegistryData {
pub registry_id: Identifier,
pub entries: Vec<(Identifier, Option<NbtCompound>)>,
diff --git a/azalea-protocol/src/packets/config/c_reset_chat.rs b/azalea-protocol/src/packets/config/c_reset_chat.rs
index bd15a79e..612e7309 100644
--- a/azalea-protocol/src/packets/config/c_reset_chat.rs
+++ b/azalea-protocol/src/packets/config/c_reset_chat.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundResetChat;
diff --git a/azalea-protocol/src/packets/config/c_resource_pack_pop.rs b/azalea-protocol/src/packets/config/c_resource_pack_pop.rs
index 2df9f375..c6544b41 100644
--- a/azalea-protocol/src/packets/config/c_resource_pack_pop.rs
+++ b/azalea-protocol/src/packets/config/c_resource_pack_pop.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
use uuid::Uuid;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundResourcePackPop {
pub id: Option<Uuid>,
}
diff --git a/azalea-protocol/src/packets/config/c_resource_pack_push.rs b/azalea-protocol/src/packets/config/c_resource_pack_push.rs
index 257cb374..34e09309 100644
--- a/azalea-protocol/src/packets/config/c_resource_pack_push.rs
+++ b/azalea-protocol/src/packets/config/c_resource_pack_push.rs
@@ -3,7 +3,7 @@ use azalea_chat::FormattedText;
use azalea_protocol_macros::ClientboundConfigPacket;
use uuid::Uuid;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundResourcePackPush {
pub id: Uuid,
pub url: String,
diff --git a/azalea-protocol/src/packets/config/c_select_known_packs.rs b/azalea-protocol/src/packets/config/c_select_known_packs.rs
index c8b17413..5ddaea0e 100644
--- a/azalea-protocol/src/packets/config/c_select_known_packs.rs
+++ b/azalea-protocol/src/packets/config/c_select_known_packs.rs
@@ -3,7 +3,7 @@ use azalea_protocol_macros::ClientboundConfigPacket;
use super::s_select_known_packs::KnownPack;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundSelectKnownPacks {
pub known_packs: Vec<KnownPack>,
}
diff --git a/azalea-protocol/src/packets/config/c_server_links.rs b/azalea-protocol/src/packets/config/c_server_links.rs
index e459e901..f697d953 100644
--- a/azalea-protocol/src/packets/config/c_server_links.rs
+++ b/azalea-protocol/src/packets/config/c_server_links.rs
@@ -3,7 +3,7 @@ use azalea_protocol_macros::ClientboundConfigPacket;
use crate::common::server_links::ServerLinkEntry;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundServerLinks {
pub links: Vec<ServerLinkEntry>,
}
diff --git a/azalea-protocol/src/packets/config/c_show_dialog.rs b/azalea-protocol/src/packets/config/c_show_dialog.rs
index 7d1ad498..d6105ca7 100644
--- a/azalea-protocol/src/packets/config/c_show_dialog.rs
+++ b/azalea-protocol/src/packets/config/c_show_dialog.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
use simdnbt::owned::Nbt;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundShowDialog {
pub dialog: Nbt,
}
diff --git a/azalea-protocol/src/packets/config/c_store_cookie.rs b/azalea-protocol/src/packets/config/c_store_cookie.rs
index 1b695b22..ae81ce25 100644
--- a/azalea-protocol/src/packets/config/c_store_cookie.rs
+++ b/azalea-protocol/src/packets/config/c_store_cookie.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundStoreCookie {
pub key: Identifier,
pub payload: Vec<u8>,
diff --git a/azalea-protocol/src/packets/config/c_transfer.rs b/azalea-protocol/src/packets/config/c_transfer.rs
index db0e846a..963137b7 100644
--- a/azalea-protocol/src/packets/config/c_transfer.rs
+++ b/azalea-protocol/src/packets/config/c_transfer.rs
@@ -1,7 +1,7 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundTransfer {
pub host: String,
#[var]
diff --git a/azalea-protocol/src/packets/config/c_update_enabled_features.rs b/azalea-protocol/src/packets/config/c_update_enabled_features.rs
index 0080b65a..9fade41c 100644
--- a/azalea-protocol/src/packets/config/c_update_enabled_features.rs
+++ b/azalea-protocol/src/packets/config/c_update_enabled_features.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ClientboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundUpdateEnabledFeatures {
pub features: Vec<Identifier>,
}
diff --git a/azalea-protocol/src/packets/config/c_update_tags.rs b/azalea-protocol/src/packets/config/c_update_tags.rs
index 5c306374..6406ebe4 100644
--- a/azalea-protocol/src/packets/config/c_update_tags.rs
+++ b/azalea-protocol/src/packets/config/c_update_tags.rs
@@ -3,7 +3,7 @@ use azalea_protocol_macros::ClientboundConfigPacket;
use crate::common::tags::TagMap;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundConfigPacket)]
+#[derive(AzBuf, ClientboundConfigPacket, Clone, Debug, PartialEq)]
pub struct ClientboundUpdateTags {
pub tags: TagMap,
}
diff --git a/azalea-protocol/src/packets/config/s_accept_code_of_conduct.rs b/azalea-protocol/src/packets/config/s_accept_code_of_conduct.rs
index c5fea5dd..4e6a6ccd 100644
--- a/azalea-protocol/src/packets/config/s_accept_code_of_conduct.rs
+++ b/azalea-protocol/src/packets/config/s_accept_code_of_conduct.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundAcceptCodeOfConduct;
diff --git a/azalea-protocol/src/packets/config/s_client_information.rs b/azalea-protocol/src/packets/config/s_client_information.rs
index b6ab0f2a..5a2490bb 100644
--- a/azalea-protocol/src/packets/config/s_client_information.rs
+++ b/azalea-protocol/src/packets/config/s_client_information.rs
@@ -3,7 +3,7 @@ use azalea_protocol_macros::ServerboundConfigPacket;
use crate::common::client_information::ClientInformation;
-#[derive(Clone, Debug, AzBuf, PartialEq, Eq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, Eq, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundClientInformation {
pub information: ClientInformation,
}
diff --git a/azalea-protocol/src/packets/config/s_cookie_response.rs b/azalea-protocol/src/packets/config/s_cookie_response.rs
index 44f74150..29bf00da 100644
--- a/azalea-protocol/src/packets/config/s_cookie_response.rs
+++ b/azalea-protocol/src/packets/config/s_cookie_response.rs
@@ -2,7 +2,7 @@ use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundCookieResponse {
pub key: Identifier,
pub payload: Option<Vec<u8>>,
diff --git a/azalea-protocol/src/packets/config/s_custom_click_action.rs b/azalea-protocol/src/packets/config/s_custom_click_action.rs
index c36c2080..45d14013 100644
--- a/azalea-protocol/src/packets/config/s_custom_click_action.rs
+++ b/azalea-protocol/src/packets/config/s_custom_click_action.rs
@@ -3,7 +3,7 @@ use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ServerboundConfigPacket;
use simdnbt::owned::Nbt;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundCustomClickAction {
pub id: Identifier,
pub payload: Nbt,
diff --git a/azalea-protocol/src/packets/config/s_custom_payload.rs b/azalea-protocol/src/packets/config/s_custom_payload.rs
index e602bdca..bd127e17 100644
--- a/azalea-protocol/src/packets/config/s_custom_payload.rs
+++ b/azalea-protocol/src/packets/config/s_custom_payload.rs
@@ -2,7 +2,7 @@ use azalea_buf::{AzBuf, UnsizedByteArray};
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundCustomPayload {
pub identifier: Identifier,
pub data: UnsizedByteArray,
diff --git a/azalea-protocol/src/packets/config/s_finish_configuration.rs b/azalea-protocol/src/packets/config/s_finish_configuration.rs
index 618d7205..1f581725 100644
--- a/azalea-protocol/src/packets/config/s_finish_configuration.rs
+++ b/azalea-protocol/src/packets/config/s_finish_configuration.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundFinishConfiguration;
diff --git a/azalea-protocol/src/packets/config/s_keep_alive.rs b/azalea-protocol/src/packets/config/s_keep_alive.rs
index 455d4109..5cd414d1 100644
--- a/azalea-protocol/src/packets/config/s_keep_alive.rs
+++ b/azalea-protocol/src/packets/config/s_keep_alive.rs
@@ -1,7 +1,7 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundKeepAlive {
pub id: u64,
}
diff --git a/azalea-protocol/src/packets/config/s_pong.rs b/azalea-protocol/src/packets/config/s_pong.rs
index 58abaff4..0618ce46 100644
--- a/azalea-protocol/src/packets/config/s_pong.rs
+++ b/azalea-protocol/src/packets/config/s_pong.rs
@@ -1,7 +1,7 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundPong {
pub id: u32,
}
diff --git a/azalea-protocol/src/packets/config/s_resource_pack.rs b/azalea-protocol/src/packets/config/s_resource_pack.rs
index 38a14af8..ed316a13 100644
--- a/azalea-protocol/src/packets/config/s_resource_pack.rs
+++ b/azalea-protocol/src/packets/config/s_resource_pack.rs
@@ -2,13 +2,13 @@ use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;
use uuid::Uuid;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundResourcePack {
pub id: Uuid,
pub action: Action,
}
-#[derive(AzBuf, Clone, Copy, Debug, PartialEq, Eq)]
+#[derive(AzBuf, Clone, Copy, Debug, Eq, PartialEq)]
pub enum Action {
SuccessfullyLoaded = 0,
Declined = 1,
diff --git a/azalea-protocol/src/packets/config/s_select_known_packs.rs b/azalea-protocol/src/packets/config/s_select_known_packs.rs
index ee139780..0286b6e2 100644
--- a/azalea-protocol/src/packets/config/s_select_known_packs.rs
+++ b/azalea-protocol/src/packets/config/s_select_known_packs.rs
@@ -1,12 +1,12 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundConfigPacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundSelectKnownPacks {
pub known_packs: Vec<KnownPack>,
}
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct KnownPack {
pub namespace: String,
pub id: String,