1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

export brigadier from azalea

This commit is contained in:
mat 2023-05-04 20:11:29 -05:00
parent 634cb8d72c
commit c690e72405
4 changed files with 4 additions and 0 deletions

1
Cargo.lock generated
View file

@ -166,6 +166,7 @@ dependencies = [
"async-trait",
"azalea-auth",
"azalea-block",
"azalea-brigadier",
"azalea-chat",
"azalea-client",
"azalea-core",

View file

@ -8,6 +8,7 @@ use crate::{
};
use std::{cell::RefCell, cmp::Ordering, collections::HashMap, marker::PhantomData, mem, rc::Rc};
/// The root of the command tree. You need to make this to register commands.
#[derive(Default)]
pub struct CommandDispatcher<S> {
pub root: Rc<RefCell<CommandNode<S>>>,

View file

@ -24,6 +24,7 @@ azalea-protocol = { version = "0.6.0", path = "../azalea-protocol" }
azalea-registry = { version = "0.6.0", path = "../azalea-registry" }
azalea-world = { version = "0.6.0", path = "../azalea-world" }
azalea-auth = { version = "0.6.0", path = "../azalea-auth" }
azalea-brigadier = { version = "0.6.0", path = "../azalea-brigadier" }
bevy_app = "0.10.0"
bevy_ecs = "0.10.0"
bevy_tasks = "0.10.0"

View file

@ -12,6 +12,7 @@ pub mod swarm;
use app::{App, Plugin, PluginGroup};
pub use azalea_auth as auth;
pub use azalea_block as blocks;
pub use azalea_brigadier as brigadier;
pub use azalea_client::*;
pub use azalea_core::{BlockPos, Vec3};
pub use azalea_protocol as protocol;