aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_move_player_pos_rot.rs
blob: e95fface0d8dca2b758ca376b2a08383d5172a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use azalea_buf::AzBuf;
use azalea_core::position::Vec3;
use azalea_entity::LookDirection;
use azalea_protocol_macros::ServerboundGamePacket;

use crate::common::movements::MoveFlags;

#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
pub struct ServerboundMovePlayerPosRot {
    pub pos: Vec3,
    pub look_direction: LookDirection,
    pub flags: MoveFlags,
}