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