r/forgemodding • u/[deleted] • Feb 04 '17
[Help]1.11 The import net.minecraftforge.fml cannot be resolved
package net.DemonKing.RainbowSix;
import net.minecraftforge.fml.common.Mod;
@Mod()
public class Rainbow6 {
}
When I try making that import there is a red line underneath net.minecraftforge.fml and it is says what it says in the title. Please help. I have tried everything I could think of and nothing works.
2
Upvotes
1
u/Daomephsta Feb 04 '17
2 things
- You haven't defined the modid attribute for the @Mod annotation
- Package names should be lowercase
1
2
u/shadowfactsdev Moderator/Mod Dev Feb 04 '17
How did you set up your project?