22declare(strict_types=1);
24namespace pocketmine\world\format\io\region;
28use pocketmine\world\format\PalettedBlockArray;
36 use LegacyAnvilChunkTrait;
39 return new SubChunk(Block::EMPTY_STATE_ID, [$this->palettizeLegacySubChunkXZY(
40 self::readFixedSizeByteArray($subChunk,
"Blocks", 4096),
41 self::readFixedSizeByteArray($subChunk,
"Data", 2048),