public function setGenerated($value = 1) { $this->nbt->TerrainGenerated = new ByteTag("TerrainGenerated", $value); $this->hasChanged = true; }