aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-world/src')
-rw-r--r--azalea-world/src/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/azalea-world/src/lib.rs b/azalea-world/src/lib.rs
index e6b90ad5..8e60a6d6 100644
--- a/azalea-world/src/lib.rs
+++ b/azalea-world/src/lib.rs
@@ -12,12 +12,16 @@ mod tests {
const SECTION_HEIGHT: u32 = 16;
+pub struct World {
+
+}
+
pub struct Chunk {
pub sections: Vec<Section>,
}
impl Chunk {
- fn read_with_world_height(buf: &mut impl Read, world_height: u32) -> Result<Self, String> {
+ pub fn read_with_world_height(buf: &mut impl Read, world_height: u32) -> Result<Self, String> {
let section_count = world_height / SECTION_HEIGHT;
let mut sections = Vec::with_capacity(section_count as usize);
for _ in 0..section_count {