public function isChunkGenerated(int $x, int $z) : bool { $chunk = $this->getChunk($x, $z); return $chunk !== null ? $chunk->isGenerated() : false; }