From 49454781cf02c85e065cf1cf4de22701175f3f13 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 7 May 2022 20:34:53 -0500 Subject: add move packets --- azalea-protocol/src/packets/game/mod.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'azalea-protocol/src/packets/game/mod.rs') diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs index 0f7d00d0..78091788 100755 --- a/azalea-protocol/src/packets/game/mod.rs +++ b/azalea-protocol/src/packets/game/mod.rs @@ -12,7 +12,9 @@ pub mod clientbound_initialize_border_packet; pub mod clientbound_level_chunk_with_light_packet; pub mod clientbound_light_update_packet; pub mod clientbound_login_packet; -pub mod clientbound_move_entity_packet; +pub mod clientbound_move_entity_pos_packet; +pub mod clientbound_move_entity_posrot_packet; +pub mod clientbound_move_entity_rot_packet; pub mod clientbound_player_abilities_packet; pub mod clientbound_player_info_packet; pub mod clientbound_player_position_packet; @@ -55,7 +57,9 @@ declare_state_packets!( 0x22: clientbound_level_chunk_with_light_packet::ClientboundLevelChunkWithLightPacket, 0x25: clientbound_light_update_packet::ClientboundLightUpdatePacket, 0x26: clientbound_login_packet::ClientboundLoginPacket, - 0x29: clientbound_move_entity_packet::ClientboundMoveEntityPacket, + 0x29: clientbound_move_entity_pos_packet::ClientboundMoveEntityPosPacket, + 0x2a: clientbound_move_entity_posrot_packet::ClientboundMoveEntityPosRotPacket, + 0x2b: clientbound_move_entity_rot_packet::ClientboundMoveEntityRotPacket, 0x32: clientbound_player_abilities_packet::ClientboundPlayerAbilitiesPacket, 0x36: clientbound_player_info_packet::ClientboundPlayerInfoPacket, 0x38: clientbound_player_position_packet::ClientboundPlayerPositionPacket, -- cgit v1.2.3