diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 60f9c9fc..54e08aae 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -422,8 +422,8 @@ impl Client { tx.send(Event::Login).unwrap(); } - ClientboundGamePacket::UpdateViewDistance(p) => { - debug!("Got view distance packet {:?}", p); + ClientboundGamePacket::SetChunkCacheRadius(p) => { + debug!("Got set chunk cache radius packet {:?}", p); } ClientboundGamePacket::CustomPayload(p) => { debug!("Got custom payload packet {:?}", p); @@ -581,7 +581,7 @@ impl Client { ClientboundGamePacket::UpdateAttributes(_p) => { // debug!("Got update attributes packet {:?}", p); } - ClientboundGamePacket::EntityVelocity(_p) => { + ClientboundGamePacket::SetEntityMotion(_p) => { // debug!("Got entity velocity packet {:?}", p); } ClientboundGamePacket::SetEntityLink(p) => { @@ -743,10 +743,8 @@ impl Client { ClientboundGamePacket::SetBorderWarningDelay(_) => {} ClientboundGamePacket::SetBorderWarningDistance(_) => {} ClientboundGamePacket::SetCamera(_) => {} - ClientboundGamePacket::SetChunkCacheRadius(_) => {} ClientboundGamePacket::SetDisplayChatPreview(_) => {} ClientboundGamePacket::SetDisplayObjective(_) => {} - ClientboundGamePacket::SetEntityMotion(_) => {} ClientboundGamePacket::SetObjective(_) => {} ClientboundGamePacket::SetPassengers(_) => {} ClientboundGamePacket::SetPlayerTeam(_) => {} diff --git a/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs b/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs deleted file mode 100644 index 148e0363..00000000 --- a/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs +++ /dev/null @@ -1,11 +0,0 @@ -use azalea_buf::McBuf; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, McBuf, ClientboundGamePacket)] -pub struct ClientboundEntityVelocityPacket { - #[var] - pub entity_id: u32, - pub x_vel: i16, - pub y_vel: i16, - pub z_vel: i16, -} diff --git a/azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs b/azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs deleted file mode 100755 index 1d4a185e..00000000 --- a/azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs +++ /dev/null @@ -1,8 +0,0 @@ -use azalea_buf::McBuf; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, McBuf, ClientboundGamePacket)] -pub struct ClientboundUpdateViewDistancePacket { - #[var] - pub view_distance: i32, -} diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs index 039f8e2c..c23e426e 100644 --- a/azalea-protocol/src/packets/game/mod.rs +++ b/azalea-protocol/src/packets/game/mod.rs @@ -23,7 +23,6 @@ pub mod clientbound_custom_sound_packet; pub mod clientbound_delete_chat_packet; pub mod clientbound_disconnect_packet; pub mod clientbound_entity_event_packet; -pub mod clientbound_entity_velocity_packet; pub mod clientbound_explode_packet; pub mod clientbound_forget_level_chunk_packet; pub mod clientbound_game_event_packet; @@ -105,7 +104,6 @@ pub mod clientbound_update_attributes_packet; pub mod clientbound_update_mob_effect_packet; pub mod clientbound_update_recipes_packet; pub mod clientbound_update_tags_packet; -pub mod clientbound_update_view_distance_packet; pub mod serverbound_accept_teleportation_packet; pub mod serverbound_block_entity_tag_query; pub mod serverbound_change_difficulty_packet;