color = $color; } public function getColor() : DyeColor{ return $this->color; } public function getBlock(?int $clickedFace = null) : Block{ return VanillaBlocks::BED()->setColor($this->color); } public function getMaxStackSize() : int{ return 1; } }