also every time you use a new ingot on the anvil, use the z toggle and choose blunts or blades then put the heated ingot on the anvil, remove ingot from anvil - I drop them on the ground - then put it back on the anvil. this should reset the anvil allowing you to craft the correct item and material