23 public function __construct(
28 public function getBiome() :
int{
return $this->biome; }
30 public function getWeight() :
int{
return $this->weight; }
32 public static function read(ByteBufferReader $in) :
self{
33 $biome = LE::readSignedShort($in);
34 $weight = LE::readUnsignedInt($in);
42 public function write(ByteBufferWriter $out) :
void{
43 LE::writeSignedShort($out, $this->biome);
44 LE::writeUnsignedInt($out, $this->weight);