meta = $meta; } public function getHardness() : float{ return 0.8; } public function getName() : string{ static $names = [ self::NORMAL => "Sandstone", self::CHISELED => "Chiseled Sandstone", self::SMOOTH => "Smooth Sandstone" ]; return $names[$this->getVariant()] ?? "Unknown"; } public function getToolType() : int{ return Tool::TYPE_PICKAXE; } public function getVariantBitmask() : int{ return 0x03; } public function getDrops(Item $item) : array{ if($item->isPickaxe() >= Tool::TIER_WOODEN){ return parent::getDrops($item); } return []; } }