aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock1
-rwxr-xr-xazalea-brigadier/src/command_dispatcher.rs1
-rw-r--r--azalea/Cargo.toml1
-rw-r--r--azalea/src/lib.rs1
4 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 713c4bf7..cb1098cc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -166,6 +166,7 @@ dependencies = [
"async-trait",
"azalea-auth",
"azalea-block",
+ "azalea-brigadier",
"azalea-chat",
"azalea-client",
"azalea-core",
diff --git a/azalea-brigadier/src/command_dispatcher.rs b/azalea-brigadier/src/command_dispatcher.rs
index 273b1681..ba41223e 100755
--- a/azalea-brigadier/src/command_dispatcher.rs
+++ b/azalea-brigadier/src/command_dispatcher.rs
@@ -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>>>,
diff --git a/azalea/Cargo.toml b/azalea/Cargo.toml
index 5dbc7556..4a7469d3 100644
--- a/azalea/Cargo.toml
+++ b/azalea/Cargo.toml
@@ -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"
diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs
index 2e8e4fa1..bde94634 100644
--- a/azalea/src/lib.rs
+++ b/azalea/src/lib.rs
@@ -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;