I'm coding a Combat based mod and I keep getting an error can someone tell me how to fix it? Im new to coding so if you can simplify it that would be great!
Here are the items I tried to code and the error
EnumToolMaterial wood;
woodenBattleaxe = new ItemWoodenBattleaxe(4000, wood).setIconIndex(0).setItemName("Wooden Battleaxe");
After the 4000 it says there's an error with wood but I tried every fix and nothing seemed to work so if someone could tell me how to fix it I would be truely greatfull