diff options
5 files changed, 0 insertions, 62 deletions
diff --git a/azalea-protocol/src/packets/game/c_chat_preview.rs b/azalea-protocol/src/packets/game/c_chat_preview.rs deleted file mode 100644 index e0ddd2ec..00000000 --- a/azalea-protocol/src/packets/game/c_chat_preview.rs +++ /dev/null @@ -1,9 +0,0 @@ -use azalea_buf::AzBuf; -use azalea_chat::FormattedText; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] -pub struct ClientboundChatPreview { - pub query_id: i32, - pub preview: Option<FormattedText>, -} diff --git a/azalea-protocol/src/packets/game/c_custom_sound.rs b/azalea-protocol/src/packets/game/c_custom_sound.rs deleted file mode 100644 index 7daadb3a..00000000 --- a/azalea-protocol/src/packets/game/c_custom_sound.rs +++ /dev/null @@ -1,28 +0,0 @@ -use azalea_buf::AzBuf; -use azalea_core::resource_location::ResourceLocation; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] -pub struct ClientboundCustomSound { - pub name: ResourceLocation, - pub source: SoundSource, - pub x: i32, - pub y: i32, - pub z: i32, - pub volume: f32, - pub pitch: f32, -} - -#[derive(AzBuf, Clone, Copy, Debug)] -pub enum SoundSource { - Master = 0, - Music = 1, - Records = 2, - Weather = 3, - Blocks = 4, - Hostile = 5, - Neutral = 6, - Players = 7, - Ambient = 8, - Voice = 9, -} diff --git a/azalea-protocol/src/packets/game/c_player_chat_header.rs b/azalea-protocol/src/packets/game/c_player_chat_header.rs deleted file mode 100644 index d7e84cc5..00000000 --- a/azalea-protocol/src/packets/game/c_player_chat_header.rs +++ /dev/null @@ -1,10 +0,0 @@ -use azalea_buf::AzBuf; -use azalea_crypto::{MessageSignature, SignedMessageHeader}; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] -pub struct ClientboundPlayerChatHeader { - pub header: SignedMessageHeader, - pub header_signature: MessageSignature, - pub body_digest: Vec<u8>, -} diff --git a/azalea-protocol/src/packets/game/c_set_display_chat_preview.rs b/azalea-protocol/src/packets/game/c_set_display_chat_preview.rs deleted file mode 100644 index df2a62d4..00000000 --- a/azalea-protocol/src/packets/game/c_set_display_chat_preview.rs +++ /dev/null @@ -1,7 +0,0 @@ -use azalea_buf::AzBuf; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] -pub struct ClientboundSetDisplayChatPreview { - pub enabled: bool, -} diff --git a/azalea-protocol/src/packets/game/c_update_enabled_features.rs b/azalea-protocol/src/packets/game/c_update_enabled_features.rs deleted file mode 100644 index d4dac483..00000000 --- a/azalea-protocol/src/packets/game/c_update_enabled_features.rs +++ /dev/null @@ -1,8 +0,0 @@ -use azalea_buf::AzBuf; -use azalea_core::resource_location::ResourceLocation; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] -pub struct ClientboundUpdateEnabledFeatures { - pub features: Vec<ResourceLocation>, -} |
