azalea_protocol/packets/game/c_move_entity_rot.rs
1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3use azalea_world::MinecraftEntityId;
4
5#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
6pub struct ClientboundMoveEntityRot {
7 #[var]
8 pub entity_id: MinecraftEntityId,
9 pub y_rot: i8,
10 pub x_rot: i8,
11 pub on_ground: bool,
12}