Jump to content

[1.7.2] Mod not showing up at all when exported


DanPerry1808

Recommended Posts

Hi,

 

I've just finished my mod for 1.7.2 and followed ScratchForFun's tutorial on exporting it (using gradlew build), but after putting the .jar file into my mods folder in my .minecraft folder, and launching my forge 1.7.2 profile, it will not register it as a mod, it won't show up on the mods screen on the title page and none of my mod's item/blocks are in the game. I believe this is something to do with the way my src folders are set up in my workspace, but you can judge for your self with this video showing you my folder setup and what happens when I export my mod: https://www.youtube.com/watch?v=hgfzS4B8iZg

 

Thanks for helping!!

Link to comment
Share on other sites

Your folder setup is a bit weird.

When you download the forge src distribution, you get a pre-made src/main/java and a src/main/resources.

Your stuff must go directly in there, nowhere else.

 

I tried that, and even made a clean install of forge in a new workspace but the same thing still happens, any ideas?

Link to comment
Share on other sites

Didn't click on your link to see if you were planning on multiple mods, but I highly recommend the multiple mod seperate project setup.  I recently made that change and it makes updating, building, and testing so much easier.

Long time Bukkit & Forge Programmer

Happy to try and help

Link to comment
Share on other sites

You should post a description of your exact folder layout (not within eclipse).

 

After following your previous instructions my folder path for all my code is C:\Users\User\Documents\Mods\Dan's Misc Mod 1.7.2\forge-1.7.2-10.12.0.1024-src\src\main\java

and the folder path for my all assets and mcmod.info file is: C:\Users\User\Documents\Mods\Dan's Misc Mod 1.7.2\forge-1.7.2-10.12.0.1024-src\src\main\resources

 

Hope this helps!

Link to comment
Share on other sites

First the extra path you have on src/main/java is not needed so kill that folder your code should go into /src/main/java/{package} nothing else.

Second, we need your log file so we can see what forge is doing, seriously, logs.

But it looks to me like you've derped up the build file somehow

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.