Skip to main content

azalea_protocol/packets/game/
c_move_entity_rot.rs

1use azalea_buf::AzBuf;
2use azalea_core::entity_id::MinecraftEntityId;
3use azalea_protocol_macros::ClientboundGamePacket;
4
5use crate::packets::game::c_move_entity_pos_rot::CompactLookDirection;
6
7#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
8pub struct ClientboundMoveEntityRot {
9    #[var]
10    pub entity_id: MinecraftEntityId,
11    pub look_direction: CompactLookDirection,
12    pub on_ground: bool,
13}