hardness = 15; } public function getBreakTime(Item $item, PocketMine\Player $player){ if(($player->gamemode & 0x01) === 0x01){ return 0.20; } switch($item->isPickaxe()){ case 5: return 0.6; case 4: return 0.75; default: return 15; } } public function getDrops(Item $item, PocketMine\Player $player){ if($item->isPickaxe() >= 4){ return array( array(Item::GOLD_ORE, 0, 1), ); } else{ return array(); } } }