1#![doc = include_str!("../README.md")]
2#![feature(error_generic_member_access)]
3
4mod bit_storage;
5pub mod chunk_storage;
6mod container;
7pub mod find_blocks;
8pub mod heightmap;
9pub mod iterators;
10pub mod palette;
11mod world;
12
13use std::backtrace::Backtrace;
14
15pub use bit_storage::BitStorage;
16pub use chunk_storage::{Chunk, ChunkStorage, PartialChunkStorage, Section};
17pub use container::*;
18use thiserror::Error;
19pub use world::*;
20
21#[derive(Error, Debug)]
22pub enum MoveEntityError {
23 #[error("Entity doesn't exist")]
24 EntityDoesNotExist(Backtrace),
25}