quectocraft/src/protocol/mod.rs

21 lines
283 B
Rust
Raw Normal View History

2022-12-17 05:10:01 +00:00
pub mod command;
2022-12-02 23:27:53 +00:00
pub mod data;
pub mod serverbound;
pub mod clientbound;
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
pub enum NetworkState {
Handshake,
Status,
Login,
Play
}
#[derive(Clone, Copy, Debug)]
pub struct Position {
x: i32,
y: i16,
z: i32
}