meta = $meta; } public function getName(){ return "Gravel"; } public function getHardness(){ return 0.6; } public function getToolType(){ return Tool::TYPE_SHOVEL; } public function getDrops(Item $item){ if(mt_rand(1, 10) === 1){ return [ [Item::FLINT, 0, 1], ]; } return [ [Item::GRAVEL, 0, 1], ]; } }