nurtex 1.2.1

Create efficient and lightweight Minecraft bots or clients.
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 Plugins {
  pub auto_respawn: AutoRespawnPlugin,
  pub auto_reconnect: AutoReconnectPlugin,
}

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