Made ChunkNBT struct slightly more readable
This commit is contained in:
parent
e2d2b53f41
commit
ff06d05487
@ -61,12 +61,14 @@ struct ChunkSection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
#[allow(dead_code)]
|
#[serde(rename_all = "PascalCase")]
|
||||||
struct ChunkNbt {
|
struct ChunkNbt {
|
||||||
#[serde(rename = "DataVersion")]
|
#[allow(dead_code)]
|
||||||
data_version: usize,
|
data_version: usize,
|
||||||
|
|
||||||
|
#[serde(rename = "sections")]
|
||||||
sections: Vec<ChunkSection>,
|
sections: Vec<ChunkSection>,
|
||||||
#[serde(rename = "Heightmaps")]
|
|
||||||
heightmaps: ChunkHeightmaps,
|
heightmaps: ChunkHeightmaps,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user