diff --git a/pumpkin-world/src/biome.rs b/pumpkin-world/src/biome.rs new file mode 100644 index 000000000..3196e6ed6 --- /dev/null +++ b/pumpkin-world/src/biome.rs @@ -0,0 +1,9 @@ +use serde::{Deserialize, Serialize}; + +// TODO make this work with the protocol +#[derive(Serialize, Deserialize, Clone, Copy)] +#[non_exhaustive] +pub enum Biome { + Plains, + // TODO list all Biomes +} diff --git a/pumpkin-world/src/lib.rs b/pumpkin-world/src/lib.rs index b204eef2b..56462faf8 100644 --- a/pumpkin-world/src/lib.rs +++ b/pumpkin-world/src/lib.rs @@ -1,5 +1,6 @@ use level::Level; +pub mod biome; pub mod block; pub mod chunk; pub mod coordinates;