pub struct Structures {
pub references: KVPair<Vec<i64>>,
pub starts: KVPair<Structure>,
}
Expand description
Structure data in this chunk.
Fields§
§references: KVPair<Vec<i64>>
Coordinates of chunks that contain Starts.
Each 64-bit number of this array represents a chunk coordinate (i.e. block coordinate / 16), with its X packed into the low (least significant) 32 bits and Z packed into the high (most significant) 32 bits.
starts: KVPair<Structure>
Structures that are yet to be generated, stored by general type. Some parts of the structures may have already been generated. Completely generated structures are removed by setting their id to “INVALID” and removing all other tags
Only the structures that can spawn in this dimension are stored, for example, EndCity is stored only in the end chunks.
Trait Implementations§
Source§impl Clone for Structures
impl Clone for Structures
Source§fn clone(&self) -> Structures
fn clone(&self) -> Structures
Returns a duplicate of the value. Read more
1.0.0 · 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 Structures
impl Debug for Structures
Source§impl FromCompoundNbt for Structures
impl FromCompoundNbt for Structures
fn from_compound_nbt(nbt: &NbtCompound<'_, '_>) -> Result<Self, SculkParseError>where
Self: Sized,
Source§impl PartialEq for Structures
impl PartialEq for Structures
impl StructuralPartialEq for Structures
Auto Trait Implementations§
impl Freeze for Structures
impl RefUnwindSafe for Structures
impl Send for Structures
impl Sync for Structures
impl Unpin for Structures
impl UnwindSafe for Structures
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