nurtex 0.5.2

Lightweight library for creating Minecraft bots. Asynchronous, optimized, ease of coding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Структура данных профиля
#[derive(Debug, Clone)]
pub struct Profile {
  pub entity_id: Option<i32>,
  pub game_mode: String,
  pub ping: i32,
}

impl Default for Profile {
  fn default() -> Self {
    Self {
      entity_id: None,
      game_mode: "unknown".to_string(),
      ping: 0,
    }
  }
}