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");
if (dataTag.isByteArray(SECTION_HALF_NIBBLES)) {
System.arraycopy(dataTag.byteArray(), 0, blockData, SECTION_HALF_NIBBLES*yOffset, SECTION_HALF_NIBBLES);
}