nurtex 1.1.0

Library for creating Minecraft bots.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::bot::plugins::{AutoReconnectPlugin, AutoRespawnPlugin};

/// Структура плагинов бота
#[derive(Clone)]
pub struct BotPlugins {
  pub auto_respawn: AutoRespawnPlugin,
  pub auto_reconnect: AutoReconnectPlugin,
}

impl Default for BotPlugins {
  fn default() -> Self {
    Self {
      auto_respawn: AutoRespawnPlugin::default(),
      auto_reconnect: AutoReconnectPlugin::default(),
    }
  }
}