$chunks[Level::chunkHash($x >> 4, $z >> 4)] = $chunk->toBinary(); What to change this line to for 1.0?