I'm still having an issue with this, I can get it to work no problem by adding it into the enum, however anything I try to get it to work outside of this fails, is there something obvious that I'm missing? Thanks if you do respond - Alpha.
I was looking into adding some custom armors ect. for my mod, however I'm having trouble working out how to add my custom armor/ repair item combo to the anvil repair system. From what I have seen it looks like it has to do with func_82845_b at the bottom of EnumArmorMaterial, if so is there a way to add it without editing the Enum?
Any help is greatly appreciated
Cheers, Alpha.