20 public const BIOME_TYPE_DEFAULT = 0;
21 public const BIOME_TYPE_USER_DEFINED = 1;
23 public function __construct(
24 private int $biomeType,
25 private string $biomeName,
26 private int $dimension
29 public function getBiomeType() :
int{
30 return $this->biomeType;
33 public function getBiomeName() :
string{
34 return $this->biomeName;
41 return $this->dimension;
45 $biomeType = $in->getLShort();
49 return new self($biomeType, $biomeName, $dimension);
53 $out->putLShort($this->biomeType);
54 $out->putString($this->biomeName);