meta = $meta; } public function getHardness() : float{ return 0.5; } public function getToolType() : int{ return BlockToolType::TYPE_SHOVEL; } public function getName() : string{ if($this->getVariant() === 0x01){ return "Red Sand"; } return "Sand"; } }