Struct level_lib::structs::level::WorldGenSettings
source · pub struct WorldGenSettings {
pub bonus_chest: bool,
pub seeed: i64,
pub generate_features: bool,
pub dimensions: HashMap<String, Generator>,
}Expand description
A struct holding the world gen settings
Fields§
§bonus_chest: boolIf a bonus chest should be generated
seeed: i64The seed of the world
generate_features: boolWhether structures should be generated or not
dimensions: HashMap<String, Generator>A list containing all dimensions
Auto Trait Implementations§
impl Freeze for WorldGenSettings
impl RefUnwindSafe for WorldGenSettings
impl Send for WorldGenSettings
impl Sync for WorldGenSettings
impl Unpin for WorldGenSettings
impl UnwindSafe for WorldGenSettings
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