aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_move_entity_rot.rs
blob: 90ce41bc65a1de7a69064a888d9718d44bc56621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use azalea_buf::AzBuf;
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 look_direction: CompactLookDirection,
    pub on_ground: bool,
}