aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_move_entity_rot.rs
blob: 4d0645b379c894f2802f6afeb6899870585b2ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_core::entity_id::MinecraftEntityId;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundMoveEntityRot {
    #[var]
    pub entity_id: MinecraftEntityId,
    pub y_rot: i8,
    pub x_rot: i8,
    pub on_ground: bool,
}