Posted April 13, 201510 yr Only thing I changed recently was JDK version I think, I updated to the latest, does that break @Mod?
April 13, 201510 yr Author Yes, "@Mod(modid="LetsMod", name="Lets Mod", version="1.0-1.7.10")" '@Mod is not applicable to type' At @Mod.EventHandler public void preInit(FMLPreInitializationEvent){ } @Mod.EventHandler is also errored.
April 13, 201510 yr You don't use quotation marks before @mod and after it. If it is work older versions, it can be because forge isn't support java 8 versions yet, but it doesn't cause @Mod error, it just not compile codes and crash game, if you use " before @Mod and at the end of the line, it can be error. @Mod(modid = "LetsMod", name = "Lets Mod", version = "1.0-1.7.10") If you don't have quotation marks I don't know why it gives error, maybe someone help you.
April 13, 201510 yr Author Yeah... no quotes I just started putting quotes around it while typing and remembered the code tag and forgot about quotes...
April 13, 201510 yr For 1.7.10 import cpw.mods.fml.common.Mod; For 1.8.0 import net.minecraftforge.fml.common.Mod; Can you try import Mod manually?
April 14, 201510 yr Author http://snag.gy/NsLxN.jpg I found it. Gradlew setupDecompWorkspace failed. I've tried fixing the error but it doesn't do anything.
April 14, 201510 yr http://snag.gy/NsLxN.jpg I found it. Gradlew setupDecompWorkspace failed. I've tried fixing the error but it doesn't do anything. It clearly tells you whats wrong. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
April 14, 201510 yr Author I got it now. Thanks. I just decided to install jdk to my c drive, which works fine now.
April 14, 201510 yr Did you try checking the file PATH under environmental settings when you set up JDK? That's a long shot but might be worth checking
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.