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

Mod won't load when in dev environment

Recommended Posts

I'm pretty sure my code is horrendous and there are most likely files in the wrong places, but I can't figure out what is wrong. Minecraft will load up fine but only have forge running.

My GitHub page is here

Link to post
Share on other sites

You need to update the build.gradle to have your modid instead of the default examplemod

you'll want to modify the group, the modid and pretty much everywhere where "examplemod" is shown, you'll want to replace with your own modid


note: you have a static field in your main mod class (Warwolves.java) called MOD_ID, whenever you need the mod id, you should be referencing this field, instead of typing the string every time

note 2: don't create an ItemBase class https://championash5357.github.io/ChampionAsh5357/tutorial/minecraft/ciar#code-style-5

Edited by kiou.23
Link to post
Share on other sites

I forgot I had MOD_ID actually, I went ahead and fixed that, and the ItemBase. The build.gradle should have all the correct information now, but the Minecraft instance Eclipse runs still doesn't have my mod in it.

Link to post
Share on other sites

That's odd, I couldn't find anything wrong with the code.

could you describe exactly what steps you are taking to run the mod?


also: your group in build.gradle and your main path doesn't follow the convention, seeing that you have a github, you could use that http://maven.apache.org/guides/mini/guide-naming-conventions.html


EDIT: Ideally I would pull the repo to my machine and try running the mod myself, but my weak computer takes 4 hours to decompile mc, So... sorry I can't do that

Edited by kiou.23
Link to post
Share on other sites

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.