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

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

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