Module prelude

Module prelude 

Source
Expand description

The Azalea prelude. Things that are necessary for a bare-bones bot are re-exported here.

Re-exports§

pub use crate::ClientBuilder;
pub use crate::bot::BotClientExt;
pub use crate::container::ContainerClientExt;
pub use crate::pathfinder::PathfinderClientExt;
pub use crate::ecs as bevy_ecs;

Structs§

Account
Something that can join Minecraft servers.
Client
A Minecraft client instance that can interact with the world.
GameTick
A Bevy schedule that runs every Minecraft game tick, i.e. every 50ms.

Enums§

AppExit
A [Message] that indicates the [App] should exit. If one or more of these are present at the end of an update, the runner will end and (maybe) return control to the caller.
Event
Something that happened in-game, such as a tick passing or chat message being sent.

Traits§

Component
A data type that can be used to store data for an entity.
Resource
A type that can be inserted into a World as a singleton.

Derive Macros§

Component
Cheat sheet for derive syntax, see full explanation and examples on the Component trait doc.
Resource
Implement the Resource trait.