pub struct DesertPyramidPieceData {
pub height_position: Option<i32>,
pub has_placed_chest: [bool; 4],
pub potential_suspicious_sand_world_positions: Vec<BlockPos>,
pub random_collapsed_roof_pos: BlockPos,
}Expand description
Runtime state for vanilla DesertPyramidPiece.
Fields§
§height_position: Option<i32>Vanilla ScatteredFeaturePiece.heightPosition; None means not height-adjusted yet.
has_placed_chest: [bool; 4]Chest placement flags ordered by Direction.get2DDataValue.
potential_suspicious_sand_world_positions: Vec<BlockPos>Per-run archaeology candidates collected by postProcess; vanilla does not persist these.
random_collapsed_roof_pos: BlockPosPer-run collapsed-roof archaeology position collected by postProcess.
Implementations§
Trait Implementations§
Source§impl Clone for DesertPyramidPieceData
impl Clone for DesertPyramidPieceData
Source§fn clone(&self) -> DesertPyramidPieceData
fn clone(&self) -> DesertPyramidPieceData
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 moreSource§impl Debug for DesertPyramidPieceData
impl Debug for DesertPyramidPieceData
Auto Trait Implementations§
impl Freeze for DesertPyramidPieceData
impl RefUnwindSafe for DesertPyramidPieceData
impl Send for DesertPyramidPieceData
impl Sync for DesertPyramidPieceData
impl Unpin for DesertPyramidPieceData
impl UnsafeUnpin for DesertPyramidPieceData
impl UnwindSafe for DesertPyramidPieceData
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<>>