21 public function __construct(
22 private float $noiseFrequencyScale,
23 private float $noiseLowerBound,
24 private float $noiseUpperBound,
25 private int $heightMinType,
26 private int $heightMin,
27 private int $heightMaxType,
28 private int $heightMax,
32 public function getNoiseFrequencyScale() :
float{
return $this->noiseFrequencyScale; }
34 public function getNoiseLowerBound() :
float{
return $this->noiseLowerBound; }
36 public function getNoiseUpperBound() :
float{
return $this->noiseUpperBound; }
38 public function getHeightMinType() :
int{
return $this->heightMinType; }
40 public function getHeightMin() :
int{
return $this->heightMin; }
42 public function getHeightMaxType() :
int{
return $this->heightMaxType; }
44 public function getHeightMax() :
int{
return $this->heightMax; }
56 $surfaceMaterial = BiomeSurfaceMaterialData::read($in);
71 $out->putLFloat($this->noiseFrequencyScale);
72 $out->putLFloat($this->noiseLowerBound);
73 $out->putLFloat($this->noiseUpperBound);
75 $out->putLShort($this->heightMin);
77 $out->putLShort($this->heightMax);
78 $this->surfaceMaterial->write($out);