Enum BiomeSourceKind
#[non_exhaustive]pub enum BiomeSourceKind {
Fixed,
Checkerboard,
MultiNoise,
End,
Points,
}Expand description
How a dimension chooses its biomes (BiomeSource): the level stem’s biome_source.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fixed
The one biome of the settings everywhere (minecraft:fixed).
Checkerboard
The biomes in a checkerboard of cells 2^biome_scale chunks wide
(minecraft:checkerboard).
MultiNoise
The Overworld’s or the Nether’s multi-noise biomes, by biome_preset
(minecraft:multi_noise).
End
The End’s islands (minecraft:the_end).
Points
The mod’s own biome_points: each biome where its climate intervals are the nearest to the
level’s climate (minecraft:multi_noise with an inline biomes list).
Trait Implementations§
§impl Clone for BiomeSourceKind
impl Clone for BiomeSourceKind
§fn clone(&self) -> BiomeSourceKind
fn clone(&self) -> BiomeSourceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BiomeSourceKind
§impl Debug for BiomeSourceKind
impl Debug for BiomeSourceKind
§impl Default for BiomeSourceKind
impl Default for BiomeSourceKind
§fn default() -> BiomeSourceKind
fn default() -> BiomeSourceKind
Returns the “default value” for a type. Read more
impl Eq for BiomeSourceKind
§impl PartialEq for BiomeSourceKind
impl PartialEq for BiomeSourceKind
impl StructuralPartialEq for BiomeSourceKind
Auto Trait Implementations§
impl Freeze for BiomeSourceKind
impl RefUnwindSafe for BiomeSourceKind
impl Send for BiomeSourceKind
impl Sync for BiomeSourceKind
impl Unpin for BiomeSourceKind
impl UnsafeUnpin for BiomeSourceKind
impl UnwindSafe for BiomeSourceKind
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