nurtex 0.1.0

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
use azalea_protocol::packets::game::ClientboundGamePacket;
use uuid::Uuid;

#[derive(Debug, Clone)]
pub enum BotEvent<'e> {
  LoginFinished,
  ConfigurationFinished,
  Spawn,
  Death,
  Disconnect,
  Chat {
    sender_uuid: Option<Uuid>,
    message: String,
  },
  Packet(&'e ClientboundGamePacket),
}