pub struct ChunkData {
pub x_pos: i32,
pub z_pos: i32,
pub y_pos: i32,
pub status: GenerationStatus,
pub last_update: i64,
pub sections: Vec<ChunkSection>,
pub block_entities: Vec<BlockEntity>,
pub heightmaps: Heightmaps,
pub fluid_ticks: Vec<TileTick>,
pub block_ticks: Vec<TileTick>,
pub inhabited_time: i64,
pub structure_data_list: StructureDataList,
}Expand description
Fields§
§x_pos: i32The real x position of the chunk
z_pos: i32The read z position of the chunk
y_pos: i32The lowest y sector position in the chunk
status: GenerationStatusThe generation status of the chunk
last_update: i64The last tick that the chunk was updated
sections: Vec<ChunkSection>A list of all sections of the chunk
block_entities: Vec<BlockEntity>A list of all block entities in a chunk
heightmaps: HeightmapsAll heightmaps of the section
fluid_ticks: Vec<TileTick>A list of “active” liquid tiles in the chunk
block_ticks: Vec<TileTick>A list of “active” blocks in the chunk
inhabited_time: i64This variable increases tick by the amount of players inside of it
structure_data_list: StructureDataListA list of all structures and their data
Implementations§
Trait Implementations§
source§impl PartialEq for ChunkData
impl PartialEq for ChunkData
impl StructuralPartialEq for ChunkData
Auto Trait Implementations§
impl Freeze for ChunkData
impl RefUnwindSafe for ChunkData
impl Send for ChunkData
impl Sync for ChunkData
impl Unpin for ChunkData
impl UnwindSafe for ChunkData
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