Struct level_lib::structs::generator::FlatGenerator
source · pub struct FlatGenerator {
pub layers: Vec<SuperflatLayer>,
pub biome: Option<String>,
pub lakes: bool,
pub features: bool,
pub structure_overrides: Option<ListIdOrTag<StructureOverride>>,
}Expand description
A struct storing data to generate a flag world
Fields§
§layers: Vec<SuperflatLayer>The layers ob the flat generator
biome: Option<String>Optional id of the biome
lakes: bool§features: boolWhether to generate biome specific features
structure_overrides: Option<ListIdOrTag<StructureOverride>>Opptional structure generation overrides
Auto Trait Implementations§
impl Freeze for FlatGenerator
impl RefUnwindSafe for FlatGenerator
impl Send for FlatGenerator
impl Sync for FlatGenerator
impl Unpin for FlatGenerator
impl UnwindSafe for FlatGenerator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more