mc173-server 0.2.0

Minecraft beta 1.7.3 protocol and server implementation compatible with Notchian client
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Offline player data.

use glam::{DVec3, Vec2};


/// An offline player defines the saved data of a player that is not connected.
#[derive(Debug)]
pub struct OfflinePlayer {
    /// World name.
    pub world: String,
    /// Last saved position of the player.
    pub pos: DVec3,
    /// Last saved look of the player.
    pub look: Vec2,
}