mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-02 13:59:07 +02:00
world/de: add deserialization of sign block entities
This commit is contained in:
parent
0988ebe095
commit
f78dd795ca
4 changed files with 91 additions and 3 deletions
|
@ -60,9 +60,10 @@ impl<'a> Chunk<'a> {
|
|||
let data_version = data.data_version.unwrap_or_default();
|
||||
|
||||
match &data.chunk {
|
||||
de::ChunkVariant::V1_18 { sections } => {
|
||||
Self::new_v1_18(data_version, sections, block_types, biome_types)
|
||||
}
|
||||
de::ChunkVariant::V1_18 {
|
||||
sections,
|
||||
block_entities: _,
|
||||
} => Self::new_v1_18(data_version, sections, block_types, biome_types),
|
||||
de::ChunkVariant::V0 { level } => {
|
||||
Self::new_v0(data_version, level, block_types, biome_types)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue