aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-07 20:34:53 -0500
committermat <github@matdoes.dev>2022-05-07 20:34:53 -0500
commit49454781cf02c85e065cf1cf4de22701175f3f13 (patch)
tree6af09cf725016a50e1a5dfd2ef7d64629f5a8160 /azalea-protocol/src/packets/game/mod.rs
parentd8049a5d0c9a2c79d576785dc1681ae60e44a04b (diff)
downloadazalea-drasl-49454781cf02c85e065cf1cf4de22701175f3f13.tar.xz
add move packets
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/mod.rs8
1 files changed, 6 insertions, 2 deletions
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,