swarm-bot 0.3.4

A autonomous bot launcher for Minecraft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{
    client::{
        state::{global::GlobalState, local::LocalState},
        tasks::Task,
    },
    protocol::InterfaceOut,
};

pub trait TaskStream {
    fn poll(
        &mut self,
        out: &mut impl InterfaceOut,
        local: &mut LocalState,
        global: &mut GlobalState,
    ) -> Option<Task>;
}