Struct mca_parser::nbt::ChunkSection
source · pub struct ChunkSection {
pub block_states: Option<LongArray>,
pub palette: Option<Value>,
pub y: i8,
}Expand description
The represents a section(subchunk) from a chunk’s nbt data stored in the region file
This does not contain all fields due to the incorrect information on the wiki.
See https://minecraft.fandom.com/wiki/Chunk_format#NBT_structure
Fields§
§block_states: Option<LongArray>§palette: Option<Value>§y: i8Trait Implementations§
source§impl Debug for ChunkSection
impl Debug for ChunkSection
source§impl<'de> Deserialize<'de> for ChunkSection
impl<'de> Deserialize<'de> for ChunkSection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ChunkSection
impl Send for ChunkSection
impl Sync for ChunkSection
impl Unpin for ChunkSection
impl UnwindSafe for ChunkSection
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