A pic of the class for the tool (no methods are deprecated).
A couple variables:
public static ToolMaterial MATERIAL = EnumHelper.addToolMaterial("MATERIAL", 0, 2048, 1.5F, 1.0F, 0);
private static final Set EFFECTIVE_ON = Sets.newHashSet(new Block[] {Blocks.AIR});
Calling and registering:
pulverizertool = new ItemPulverizerTool(0.5F,MATERIAL,EFFECTIVE_ON);
GameRegistry.register(pulverizertool);
Crafting:
GameRegistry.addShapedRecipe(new ItemStack(ModItems.stonedust,9), "PS ", " ", " ",'P', new ItemStack(ModItems.pulverizertool,1,OreDictionary.WILDCARD_VALUE),'S',Blocks.STONE);
When the tool is used in crafting and product is made, the tool has a red zero next to it and disappears on click. I'm struggling to solve this one issue.