froglightType = FroglightType::OCHRE(); parent::__construct($idInfo, $name, $breakInfo); } public function getRequiredTypeDataBits() : int{ return 2; } protected function describeType(RuntimeDataReader|RuntimeDataWriter $w) : void{ $w->froglightType($this->froglightType); } public function getFroglightType() : FroglightType{ return $this->froglightType; } /** @return $this */ public function setFroglightType(FroglightType $froglightType) : self{ $this->froglightType = $froglightType; return $this; } public function getLightLevel() : int{ return 15; } }