Posted May 18, 201411 yr 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!!
May 18, 201411 yr For practice you could go and setup forge in a different location from scratch and try to compile and load the example mod that comes with it.
May 19, 201411 yr Author 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?
May 19, 201411 yr 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
May 19, 201411 yr Author 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!
May 19, 201411 yr Author First of all try updating forge, your version is quite old. Also... This should work... I've updated to the latest recommended version (10.12.1.1060) but still nothing unfortunately. Any more ideas?
May 21, 201411 yr 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
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.