pub struct ChunkData {
pub position: ChunkPosition<i32>,
pub primary_bit_mask: VarInt,
pub heightmaps: NamedNbtTag,
pub biomes: Option<CountedArray<VarInt, VarInt>>,
pub data: CountedArray<u8, VarInt>,
pub block_entities: Vec<NamedNbtTag>,
}
Fields§
§position: ChunkPosition<i32>
§primary_bit_mask: VarInt
§heightmaps: NamedNbtTag
§biomes: Option<CountedArray<VarInt, VarInt>>
§data: CountedArray<u8, VarInt>
§block_entities: Vec<NamedNbtTag>
Trait Implementations§
Source§impl Deserialize for ChunkData
impl Deserialize for ChunkData
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<ChunkData> for PlayChunkDataWrapper
impl From<ChunkData> for PlayChunkDataWrapper
Source§impl From<PlayChunkDataWrapper> for ChunkData
impl From<PlayChunkDataWrapper> for ChunkData
Source§fn from(other: PlayChunkDataWrapper) -> Self
fn from(other: PlayChunkDataWrapper) -> Self
Converts to this type from the input type.
Source§impl Serialize for ChunkData
impl Serialize for ChunkData
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
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