mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
fix removed packets still being defined
This commit is contained in:
parent
b2e54a7ff0
commit
7ae8bfab50
4 changed files with 3 additions and 26 deletions
|
@ -422,8 +422,8 @@ impl Client {
|
||||||
|
|
||||||
tx.send(Event::Login).unwrap();
|
tx.send(Event::Login).unwrap();
|
||||||
}
|
}
|
||||||
ClientboundGamePacket::UpdateViewDistance(p) => {
|
ClientboundGamePacket::SetChunkCacheRadius(p) => {
|
||||||
debug!("Got view distance packet {:?}", p);
|
debug!("Got set chunk cache radius packet {:?}", p);
|
||||||
}
|
}
|
||||||
ClientboundGamePacket::CustomPayload(p) => {
|
ClientboundGamePacket::CustomPayload(p) => {
|
||||||
debug!("Got custom payload packet {:?}", p);
|
debug!("Got custom payload packet {:?}", p);
|
||||||
|
@ -581,7 +581,7 @@ impl Client {
|
||||||
ClientboundGamePacket::UpdateAttributes(_p) => {
|
ClientboundGamePacket::UpdateAttributes(_p) => {
|
||||||
// debug!("Got update attributes packet {:?}", p);
|
// debug!("Got update attributes packet {:?}", p);
|
||||||
}
|
}
|
||||||
ClientboundGamePacket::EntityVelocity(_p) => {
|
ClientboundGamePacket::SetEntityMotion(_p) => {
|
||||||
// debug!("Got entity velocity packet {:?}", p);
|
// debug!("Got entity velocity packet {:?}", p);
|
||||||
}
|
}
|
||||||
ClientboundGamePacket::SetEntityLink(p) => {
|
ClientboundGamePacket::SetEntityLink(p) => {
|
||||||
|
@ -743,10 +743,8 @@ impl Client {
|
||||||
ClientboundGamePacket::SetBorderWarningDelay(_) => {}
|
ClientboundGamePacket::SetBorderWarningDelay(_) => {}
|
||||||
ClientboundGamePacket::SetBorderWarningDistance(_) => {}
|
ClientboundGamePacket::SetBorderWarningDistance(_) => {}
|
||||||
ClientboundGamePacket::SetCamera(_) => {}
|
ClientboundGamePacket::SetCamera(_) => {}
|
||||||
ClientboundGamePacket::SetChunkCacheRadius(_) => {}
|
|
||||||
ClientboundGamePacket::SetDisplayChatPreview(_) => {}
|
ClientboundGamePacket::SetDisplayChatPreview(_) => {}
|
||||||
ClientboundGamePacket::SetDisplayObjective(_) => {}
|
ClientboundGamePacket::SetDisplayObjective(_) => {}
|
||||||
ClientboundGamePacket::SetEntityMotion(_) => {}
|
|
||||||
ClientboundGamePacket::SetObjective(_) => {}
|
ClientboundGamePacket::SetObjective(_) => {}
|
||||||
ClientboundGamePacket::SetPassengers(_) => {}
|
ClientboundGamePacket::SetPassengers(_) => {}
|
||||||
ClientboundGamePacket::SetPlayerTeam(_) => {}
|
ClientboundGamePacket::SetPlayerTeam(_) => {}
|
||||||
|
|
|
@ -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,
|
|
||||||
}
|
|
|
@ -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,
|
|
||||||
}
|
|
|
@ -23,7 +23,6 @@ pub mod clientbound_custom_sound_packet;
|
||||||
pub mod clientbound_delete_chat_packet;
|
pub mod clientbound_delete_chat_packet;
|
||||||
pub mod clientbound_disconnect_packet;
|
pub mod clientbound_disconnect_packet;
|
||||||
pub mod clientbound_entity_event_packet;
|
pub mod clientbound_entity_event_packet;
|
||||||
pub mod clientbound_entity_velocity_packet;
|
|
||||||
pub mod clientbound_explode_packet;
|
pub mod clientbound_explode_packet;
|
||||||
pub mod clientbound_forget_level_chunk_packet;
|
pub mod clientbound_forget_level_chunk_packet;
|
||||||
pub mod clientbound_game_event_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_mob_effect_packet;
|
||||||
pub mod clientbound_update_recipes_packet;
|
pub mod clientbound_update_recipes_packet;
|
||||||
pub mod clientbound_update_tags_packet;
|
pub mod clientbound_update_tags_packet;
|
||||||
pub mod clientbound_update_view_distance_packet;
|
|
||||||
pub mod serverbound_accept_teleportation_packet;
|
pub mod serverbound_accept_teleportation_packet;
|
||||||
pub mod serverbound_block_entity_tag_query;
|
pub mod serverbound_block_entity_tag_query;
|
||||||
pub mod serverbound_change_difficulty_packet;
|
pub mod serverbound_change_difficulty_packet;
|
||||||
|
|
Loading…
Add table
Reference in a new issue