pub struct CarverConfiguration {
pub probability: f32,
pub y: HeightProvider,
}Expand description
Shared per-carver configuration fields present on every carver type.
Mirrors CaveWorldCarver/CanyonWorldCarver’s common leading fields.
y_scale/lava_level/replaceable are gone from vanilla’s schema —
replaceability is now the global #minecraft:uncarvable tag and the lava
cutoff lives in the Aquifer’s own fixed floor (both in steel-core).
Fields§
§probability: f32Per-chunk start probability (in [0, 1]).
y: HeightProviderCarver origin Y coordinate provider.
Trait Implementations§
Source§impl Clone for CarverConfiguration
impl Clone for CarverConfiguration
Auto Trait Implementations§
impl Freeze for CarverConfiguration
impl RefUnwindSafe for CarverConfiguration
impl Send for CarverConfiguration
impl Sync for CarverConfiguration
impl Unpin for CarverConfiguration
impl UnsafeUnpin for CarverConfiguration
impl UnwindSafe for CarverConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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<>>