pub struct NetherBiomeSource {
seed: u64,
climate_sampler: NetherClimateSampler,
}Expand description
Multi-noise biome source for the nether.
Uses compiled nether density functions to sample temperature and vegetation,
then looks up the biome in the nether parameter list (RTree).
Equivalent to vanilla’s MultiNoiseBiomeSource with the nether preset.
Fields§
§seed: u64§climate_sampler: NetherClimateSamplerImplementations§
Source§impl NetherBiomeSource
impl NetherBiomeSource
fn chunk_sampler(&self) -> ChunkBiomeSampler<'_>
Auto Trait Implementations§
impl Freeze for NetherBiomeSource
impl RefUnwindSafe for NetherBiomeSource
impl Send for NetherBiomeSource
impl Sync for NetherBiomeSource
impl Unpin for NetherBiomeSource
impl UnsafeUnpin for NetherBiomeSource
impl UnwindSafe for NetherBiomeSource
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>