Posted August 3, 20214 yr Hey there! I've recently thought of making my own mod which has been a complete success.. apart from the part where I edit the .java file itself. As you may know if you've made a mod yourself in the .java file you have to put your ModId in @Mod and EnqueueIMC which I've done perfectly I've re-written it loads in them 2 parts! It just keeps repeating Exception in thread "main" net.minecraftforge.fml.loading.moddiscovery.InvalidModFileException: Invalid modId found : TestMod (main) or for short as an error code * What went wrong: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk-16.0.1\bin\java.exe'' finished with non-zero exit value 1 I'm certain it's TestMod I even put that in the mods.toml file! Any recommendations? [Fixed!: Changed the ModId to lowercase] Edited August 3, 20214 yr by Ethan Barron Misspelt recommendations
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.