Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[RESOLVED] Help needed when trying to run the client with my own test mod? [RESOLVED]

Ethan Barron

Recommended Posts

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 by Ethan Barron
Misspelt recommendations
Link to comment
Share on other sites

  • Ethan Barron changed the title to [RESOLVED] Help needed when trying to run the client with my own test mod? [RESOLVED]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.