aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-world/src/container.rs2
-rw-r--r--azalea-world/src/lib.rs2
-rw-r--r--azalea-world/src/world.rs1
3 files changed, 3 insertions, 2 deletions
diff --git a/azalea-world/src/container.rs b/azalea-world/src/container.rs
index f6966f3c..97bc2a1f 100644
--- a/azalea-world/src/container.rs
+++ b/azalea-world/src/container.rs
@@ -94,5 +94,5 @@ impl InstanceContainer {
/// If two entities share the same instance name, we assume they're in the
/// same instance.
#[derive(Clone, Component, Debug, Deref, DerefMut, Eq, Hash, PartialEq)]
-#[doc(alias("worldname", "world name"))]
+#[doc(alias("worldname", "world name", "dimension"))]
pub struct InstanceName(pub Identifier);
diff --git a/azalea-world/src/lib.rs b/azalea-world/src/lib.rs
index eea574c1..7212c519 100644
--- a/azalea-world/src/lib.rs
+++ b/azalea-world/src/lib.rs
@@ -12,5 +12,5 @@ mod world;
pub use bit_storage::BitStorage;
pub use chunk_storage::{Chunk, ChunkStorage, PartialChunkStorage, Section};
-pub use container::*;
+pub use container::{InstanceContainer, InstanceName};
pub use world::*;
diff --git a/azalea-world/src/world.rs b/azalea-world/src/world.rs
index c2ba6749..26856fff 100644
--- a/azalea-world/src/world.rs
+++ b/azalea-world/src/world.rs
@@ -151,6 +151,7 @@ impl PartialEntityInfos {
/// This is sometimes interchangeably called a "world". However, this type is
/// called `Instance` to avoid colliding with the `World` type from Bevy ECS.
#[derive(Debug, Default)]
+#[doc(alias("world", "dimension"))]
pub struct Instance {
pub chunks: ChunkStorage,