wet = $r->readBool(); } protected function encodeType(BlockDataWriter $w) : void{ $w->writeBool($this->wet); } public function isWet() : bool{ return $this->wet; } /** @return $this */ public function setWet(bool $wet) : self{ $this->wet = $wet; return $this; } }