world/de: add deserialization of sign block entities

This commit is contained in:
Matthias Schiffer 2023-11-24 19:30:45 +01:00
parent 0988ebe095
commit f78dd795ca
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
4 changed files with 91 additions and 3 deletions

View file

@ -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)
}