Added an Enum for Biomes

This commit is contained in:
DaniD3v 2024-08-27 23:05:52 +02:00
parent b5b27885c7
commit eb4d47aa74
2 changed files with 10 additions and 0 deletions

View File

@ -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
}

View File

@ -1,5 +1,6 @@
use level::Level;
pub mod biome;
pub mod block;
pub mod chunk;
pub mod coordinates;