isSolid = true; $this->isFullBlock = false; $this->hardness = 25; } public function getDrops(Item $item, Player $player){ if ($item->isSword()){ return array( array(287, 0, 1), ); } elseif ($item->isShears()){ return array( array(COBWEB, 0, 1), ); } } }