singleId = $singleId; } protected function getSingle() : Block{ return BlockFactory::get($this->singleId, $this->variant); } public function getHardness() : float{ return $this->getSingle()->getHardness(); } public function getToolType() : int{ return $this->getSingle()->getToolType(); } public function getToolHarvestLevel() : int{ return $this->getSingle()->getToolHarvestLevel(); } public function getFlameEncouragement() : int{ return $this->getSingle()->getFlameEncouragement(); } public function getFlammability() : int{ return $this->getSingle()->getFlammability(); } public function getName() : string{ return "Double " . $this->getSingle()->getName(); } public function getDropsForCompatibleTool(Item $item) : array{ return [ ItemFactory::get($this->singleId, $this->variant, 2) ]; } public function isAffectedBySilkTouch() : bool{ return false; } public function getPickedItem() : Item{ return ItemFactory::get($this->getSlabId(), $this->getVariant()); } }