diff options
| author | mat <git@matdoes.dev> | 2026-03-18 11:07:31 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-18 11:07:31 +0330 |
| commit | 9fa09259aa9daa9119d95f4b5634d017c0262596 (patch) | |
| tree | 4443e0454aedd41ce2f8fb3a941ad3730626e1a4 /azalea-protocol/src/packets/game/c_move_entity_rot.rs | |
| parent | 8b2a9d512bad11be2ea40899e2d834f643fdc2e8 (diff) | |
| download | azalea-drasl-9fa09259aa9daa9119d95f4b5634d017c0262596.tar.xz | |
merge logic for the three move_entity packets
Diffstat (limited to 'azalea-protocol/src/packets/game/c_move_entity_rot.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_move_entity_rot.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/c_move_entity_rot.rs b/azalea-protocol/src/packets/game/c_move_entity_rot.rs index 4d0645b3..90ce41bc 100644 --- a/azalea-protocol/src/packets/game/c_move_entity_rot.rs +++ b/azalea-protocol/src/packets/game/c_move_entity_rot.rs @@ -1,12 +1,13 @@ use azalea_buf::AzBuf; -use azalea_protocol_macros::ClientboundGamePacket; use azalea_core::entity_id::MinecraftEntityId; +use azalea_protocol_macros::ClientboundGamePacket; + +use crate::packets::game::c_move_entity_pos_rot::CompactLookDirection; #[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)] pub struct ClientboundMoveEntityRot { #[var] pub entity_id: MinecraftEntityId, - pub y_rot: i8, - pub x_rot: i8, + pub look_direction: CompactLookDirection, pub on_ground: bool, } |
