24    public function __construct(
 
   25        private int $clayMaterial,
 
   26        private int $hardClayMaterial,
 
   27        private bool $brycePillars,
 
   31    public function getClayMaterial() : 
int{ 
return $this->clayMaterial; }
 
   33    public function getHardClayMaterial() : 
int{ 
return $this->hardClayMaterial; }
 
   35    public function hasBrycePillars() : 
bool{ 
return $this->brycePillars; }
 
   37    public function hasForest() : 
bool{ 
return $this->forest; }
 
   39    public static function read(ByteBufferReader $in) : 
self{
 
   40        $clayMaterial = LE::readUnsignedInt($in);
 
   41        $hardClayMaterial = LE::readUnsignedInt($in);
 
   42        $brycePillars = CommonTypes::getBool($in);
 
   43        $forest = CommonTypes::getBool($in);
 
   53    public function write(ByteBufferWriter $out) : 
void{
 
   54        LE::writeUnsignedInt($out, $this->clayMaterial);
 
   55        LE::writeUnsignedInt($out, $this->hardClayMaterial);
 
   56        CommonTypes::putBool($out, $this->brycePillars);
 
   57        CommonTypes::putBool($out, $this->forest);