public static void replacePickaxes() {
for (int i = 0; i < Item.byId.length; i++) {
if (Item.byId[i] != null) {
if (Item.byId[i] instanceof ItemPickaxe) {
ItemPickaxe pickaxe = (ItemPickaxe)Item.byId[i];
EnumToolMaterial etm = null;
try {
Field tool = ItemTool.class.getDeclaredField("b");
tool.setAccessible(true);
etm = (EnumToolMaterial) tool.get(pickaxe);
} catch (Exception e) {