According to https://minecraft.gamepedia.com/Bedrock_Edition_level_format#SubChunkPrefix_record_.281.0_and_1.2.13_formats.29
the 'val' tag was eliminated and replaced with a 'states' tag in 1.13.0. The 'fix' in this pull request simply forges ahead without the 'val' tag, but makes no attempt to read the 'states' tag. I don't know what the 'val' data was used for, so without it some features of the web app may not work right, but at least the map looks much better than without this fix.
… messages when reading chunks that were saved by 1.13.0 or newer
This fixes https://github.com/Plethora777/mcpe_viz/issues/91 at least for the worlds I've tried.
According to https://minecraft.gamepedia.com/Bedrock_Edition_level_format#SubChunkPrefix_record_.281.0_and_1.2.13_formats.29 the 'val' tag was eliminated and replaced with a 'states' tag in 1.13.0. The 'fix' in this pull request simply forges ahead without the 'val' tag, but makes no attempt to read the 'states' tag. I don't know what the 'val' data was used for, so without it some features of the web app may not work right, but at least the map looks much better than without this fix.