pub struct CaveCarverConfiguration {
pub base: CarverConfiguration,
pub count: IntProvider,
pub thickness: FloatProvider,
pub weird_thickness_bias: bool,
pub room_vertical_radius_multiplier: FloatProvider,
pub horizontal_radius_multiplier: FloatProvider,
pub vertical_radius_multiplier: FloatProvider,
pub start_vertical_radius_multiplier: FloatProvider,
pub floor_level: FloatProvider,
}Expand description
Cave/nether-cave configuration.
Fields§
§base: CarverConfigurationBase configuration.
count: IntProviderNumber of cave starts to attempt per source chunk.
thickness: FloatProviderPer-tunnel thickness draw.
weird_thickness_bias: boolWhen set, thickness gets an extra 1-in-10 boost.
room_vertical_radius_multiplier: FloatProviderVertical-stretch multiplier, sampled once per cave, for its room.
horizontal_radius_multiplier: FloatProviderPer-tunnel horizontal-radius stretch factor.
vertical_radius_multiplier: FloatProviderPer-tunnel vertical-radius stretch factor.
start_vertical_radius_multiplier: FloatProviderVertical-stretch multiplier, sampled once per cave, for its tunnels.
floor_level: FloatProviderCave floor cutoff in [-1, 1]; blocks below it are skipped.
Trait Implementations§
Source§impl Clone for CaveCarverConfiguration
impl Clone for CaveCarverConfiguration
Auto Trait Implementations§
impl Freeze for CaveCarverConfiguration
impl RefUnwindSafe for CaveCarverConfiguration
impl Send for CaveCarverConfiguration
impl Sync for CaveCarverConfiguration
impl Unpin for CaveCarverConfiguration
impl UnsafeUnpin for CaveCarverConfiguration
impl UnwindSafe for CaveCarverConfiguration
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<>>