have been trying for hours to create a custom weapon for 1.15.2 using forge and intelliJ. I already created the amethyst (What its made out of) but when I try to make the material I cant import EnumHelper or ToolMaterial. I have tried to fix this but just cant. Here is my code for making a material:
public static final ToolMaterial MATERIAL_AMETHYST = net.minecraftforge.common.EnumHelper.addToolMaterial();
Also I cant import EnumToolMaterial so that is also not an option. Is this a new change where 1.15.2 is different from 1.12.2 in this area? Please help me. Thanks if you do. Also I am open to new ways to make a material if you have one and links to videos. Thank you so much again!.
P.S. In the image the red are the files I cant import.
have been trying for hours to create a custom weapon for 1.15.2 using forge and intelliJ. I already created the amethyst (What its made out of) but when I try to make the material I cant import EnumHelper or ToolMaterial. I have tried to fix this but just cant. Here is my code for making a material:
public static final ToolMaterial MATERIAL_AMETHYST = net.minecraftforge.common.EnumHelper.addToolMaterial();
Also I cant import EnumToolMaterial so that is also not an option. Is this a new change where 1.15.2 is different from 1.12.2 in this area? Please help me. Thanks if you do. Also I am open to new ways to make a material if you have one and links to videos. Thank you so much again!.
P.S. In the image the red are the files I cant import.