Added an Enum for Biomes
This commit is contained in:
parent
b5b27885c7
commit
eb4d47aa74
9
pumpkin-world/src/biome.rs
Normal file
9
pumpkin-world/src/biome.rs
Normal 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
|
||||||
|
}
|
||||||
@ -1,5 +1,6 @@
|
|||||||
use level::Level;
|
use level::Level;
|
||||||
|
|
||||||
|
pub mod biome;
|
||||||
pub mod block;
|
pub mod block;
|
||||||
pub mod chunk;
|
pub mod chunk;
|
||||||
pub mod coordinates;
|
pub mod coordinates;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user