private void extractChunkData(@NotNull Map<String, AnyTag> data, @NotNull byte[] blocks, @NotNull byte[] blockData) {
AnyTag sections = data.get(LEVEL_SECTIONS);
if (sections.isList()) {
for (SpecificTag section : ((ListTag) sections).getItemList()) {
AnyTag yTag = section.get("Y");
int yOffset = yTag.byteValue() & 0xFF;
AnyTag blocksTag = section.get("Blocks");
if (blocksTag.isByteArray(SECTION_BYTES)) {
System.arraycopy(blocksTag.byteArray(), 0, blocks, SECTION_BYTES*yOffset, SECTION_BYTES);
}
AnyTag dataTag = section.get("Data");