package com.uberverse.arkcraft.common.item.tools;

import java.util.Set;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.ItemPickaxe;
import net.minecraft.item.ItemStack;

import com.google.common.collect.ImmutableSet;

public class ItemMetalPick extends ItemPickaxe
{

	public ItemMetalPick(ToolMaterial material)
    {

        super(material);
    }

    @Override
    public Set<String> getToolClasses(ItemStack stack)
    {
        return ImmutableSet.of("pickaxe", "axe");
    }

    @Override
    public float getStrVsBlock(ItemStack stack, Block block)
    {

        return block.getMaterial() != Material.iron && block.getMaterial() != Material.anvil && block.getMaterial() != Material.rock ? super.getStrVsBlock(stack, block) : this.efficiencyOnProperMaterial;

    }

    public boolean isArkTool()
    {
        return true;
    }
}

@@ -173,23 +173,18 @@
 ft.i
-tem.ItemPickaxe
+nit.Blocks
 ;%0Aim
@@ -265,16 +265,55 @@
 ableSet;
+%0Aimport com.google.common.collect.Sets;
 %0A%0Apublic
@@ -341,20 +341,24 @@
 extends 
-Item
+ARKCraft
 Pickaxe%0A
@@ -359,16 +359,575 @@
 ckaxe%0A%7B%0A
+%09private static final Set EFFECTIVE_ON = Sets.newHashSet(new Block%5B%5D %7BBlocks.activator_rail, Blocks.coal_ore, Blocks.cobblestone, Blocks.detector_rail, Blocks.diamond_block, Blocks.diamond_ore, Blocks.double_stone_slab, Blocks.golden_rail, Blocks.gold_block, Blocks.gold_ore, Blocks.ice, Blocks.iron_block, Blocks.iron_ore, Blocks.lapis_block, Blocks.lapis_ore, Blocks.lit_redstone_ore, Blocks.mossy_cobblestone, Blocks.netherrack, Blocks.packed_ice, Blocks.rail, Blocks.redstone_ore, Blocks.sandstone, Blocks.red_sandstone, Blocks.stone, Blocks.stone_slab%7D);
 %0A%09public
@@ -968,37 +968,31 @@
 al)%0A
-    %7B%0A%0A        
+%09%7B%0A%0A%09%09
 super(
+5, 
 material
 );%0A 
@@ -987,30 +987,38 @@
 material
-);%0A    %7D%0A%0A    
+, EFFECTIVE_ON);%0A%09%7D%0A%0A%09
 @Overrid
@@ -1015,28 +1015,25 @@
 %0A%09@Override%0A
-    
+%09
 public Set%3CS
@@ -1071,30 +1071,21 @@
  stack)%0A
-    %7B%0A        
+%09%7B%0A%09%09
 return I
@@ -1118,27 +1118,21 @@
 %22axe%22);%0A
-    %7D%0A%0A    
+%09%7D%0A%0A%09
 @Overrid
@@ -1133,20 +1133,17 @@
 verride%0A
-    
+%09
 public f
@@ -1195,23 +1195,14 @@
 ck)%0A
-    %7B%0A%0A        
+%09%7B%0A%0A%09%09
 retu
@@ -1398,19 +1398,13 @@
 l;%0A%0A
-    %7D%0A%0A    
+%09%7D%0A%0A%09
 publ
@@ -1430,22 +1430,13 @@
 l()%0A
-    %7B%0A        
+%09%7B%0A%09%09
 retu
@@ -1448,12 +1448,9 @@
 ue;%0A
-    
+%09
 %7D%0A%7D%0A

Update ItemMetalPick.java