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