struct LargeDripstone {
root: BlockPos,
pointing_up: bool,
radius: i32,
bluntness: f64,
scale: f64,
}Fields§
§root: BlockPos§pointing_up: bool§radius: i32§bluntness: f64§scale: f64Implementations§
Source§impl LargeDripstone
impl LargeDripstone
fn new( root: BlockPos, pointing_up: bool, random: &mut WorldgenRandom, radius: i32, bluntness: FloatProvider, height_scale: FloatProvider, ) -> Self
fn height(&self) -> i32
fn move_back_until_base_is_inside_stone( &mut self, region: &WorldGenRegion<'_>, wind: &WindOffsetter, ) -> bool
fn height_at_radius(&self, check_radius: f32) -> i32
fn place_blocks( &self, region: &mut WorldGenRegion<'_>, random: &mut WorldgenRandom, wind: &WindOffsetter, )
fn is_suitable_for_wind(&self, config: &LargeDripstoneConfiguration) -> bool
Auto Trait Implementations§
impl Freeze for LargeDripstone
impl RefUnwindSafe for LargeDripstone
impl Send for LargeDripstone
impl Sync for LargeDripstone
impl Unpin for LargeDripstone
impl UnsafeUnpin for LargeDripstone
impl UnwindSafe for LargeDripstone
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<>>