Posted January 12, 201510 yr Hello! I want to make it clear that I'm not a very experienced modder, and i do not know too much of the coding itself. Well, i recently followed Pahimars tutorials on YouTube(Great youtuber BTW), and in the episode concerning the mcmod.info file, i got stuck. I had followed his tutorial completely, and i tried various "versions" of the file layout but no matter what i did it was like Forge didn't really "pick it up"... I know i got the right file in the resources folder and even my friend(Who's an experienced modder) Couldn't seem to find the error. I'm quite sure that i have the right coding in the .info.. I already tried nearly everything i could find regarding this issue. Nothing worked. I use Itellij IDEA (newest version) And Forge (1.7.10 - Latest, as of yesterday) And Java JDK (Newest as well) Please go easy on the "You're a noob" attitude. I will try to understand as much as possible! Any help appreciated, nikko4913
January 12, 201510 yr Author Is it just me or does that post just descripe te installation process of the environment? I just need help on the mcmod.info issue.. Thanks anyway. -nikko4913
January 12, 201510 yr Did you read the third sentence? If you are using Intellij 14 (which you should) you need to add the following to the end of your build.gradle before importing: sourceSets { main { output.resourcesDir = output.classesDir } } If you don't do that, your assets will not work. (Thanks to Cazzar for this solution) mcmod.info is part of your mod's assets. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
January 13, 201510 yr Author Hey. I now did what it said multiple times, adding the code, but i still have the same issue. I also tried moving the file around to other possible directories but nothing helps. I even tried reinstalling the workspace... Could you maybe tell me a little bit more specific about where to actually paste this code? -nikko4913
January 13, 201510 yr Author I already did all this, and i placed the code in the buttom. Yes it is specific, but because i didn't got it to work i assumed i did something wrong and it would be nice to get some explaining.
January 13, 201510 yr Author No i disd not open the build.gradle and pasted the code before doing gradlew idea. So i now have tried this 2 times in a row, by just deleting the forge and files for the mod. But when i tried to install the workspace again i would no longer have the feature of running minecraft. I then tried again, but this time i ran the clean commands from when typing gradlew tasks, it looked right, but still no minecraft for testing the mcmod.
January 13, 201510 yr Author I just make things worse right now. I delete all the forge files to get a fresh start. When i tried to reinstall decompworkspace, it just skips the files concerning the server and client(Including a lot more.. Nealy all) I seems like it down't really install?
January 13, 201510 yr Those are also cached in a central location. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
January 13, 201510 yr Author Yes, but why wouldn't i be able to just load the minecraft, if it's there?
January 14, 201510 yr Author So, i tried everything on multiple computers, but every time it fails. Now i figured out how to get the minecraft client testing thing, into Intellij again, but only with the gradlew idea. Otherwise i cannot open the client.
January 14, 201510 yr Author Okay... So i followed your tutorial: http://www.minecraftforge.net/forum/index.php/topic,21354.0.html And this is exactly what i did, setp-by-step: 1. I got the newest version of Forge. And extracted the files inside, into a separate folder. 2. I opened CMD and ran gradlew tasks, followed by gradlew setupDecompWorkspace. 3. When that was done, i opened build.gradle in Notepad++, to edit the following at the complete buttom: sourceSets { main { output.resourcesDir = output.classesDir } } 4. Then i opened Intellij and clicked import project. I selected the folder where the Forge is in. I used the already selected default wrapper. 5. Intellij then runs for a minute, and i get the default screen where i can edit files. I can see that the code i entered from step 3 is at the buttom. 6. Now i cannot run the MC Client, and when trying to open the Minecraft jar, i error out.. Of cause that was a long shot, but doesn't hurt to test it. There you go. This is all i have done, multiple times. What am i doing wrong?
January 15, 201510 yr Author So this time i followed your tutorial(hopefully right this time) and when finished the genIntellijRuns, i tried running Minecraft, of cause it required a JDK, which i assigned and tried running. Now i got another error... Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/authlib/exceptions/AuthenticationException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:191) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:116) Caused by: java.lang.ClassNotFoundException: com.mojang.authlib.exceptions.AuthenticationException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 3 more Process finished with exit code 1 What did i do wrong?
January 15, 201510 yr Author I actually got it working now. I found out that i forgot to update before doing genIntellijRuns. Now everything is working. Thank you for your help!
January 23, 201510 yr Author Hello.. again... So i got it all working at first. I followed Pahimars tutorials further, but after setting up my references i ran a quick minecraft to just see if everything was still working. BUT, now my mcmod.info dosn't show up again... I no longer have the mcmod.infos content displayed under the modlist ingame. I didn't change anything inside the mcmod.info... What could i have done wrong? Sorry for my returning on this matter. But i'm learning...
January 23, 201510 yr Author Hello. No there isn't any errors the console when loading the mod. I am able to load it because it's in the modlist. Is that correct?
January 23, 201510 yr Author First of all, i placed the mcmod.info at the following path: src>main>resources>mcmod.info By references i mean creating a java class under the com.nikko4913.letsmodreboot in a reference-folder, which holds references.. Just like pahimar. The file contains something like the following: package com.nikko4913.letsmodreboot.reference; public class Reference { public static final String MOD_ID = "LetsModReboot"; public static final String MOD_NAME = "Lets Mod Reboot"; public static final String VERSION = "1.7.10-1.0"; public static final String CLIENT_PROXY_CLASS = "com.nikko4913.letsmodreboot.proxy.ClientProxy"; public static final String SERVER_PROXY_CLASS = "com.nikko4913.letsmodreboot.proxy.ServerProxy"; public static final String GUI_FACTORY_CLASS = "com.nikko4913.letsmodreboot.client.gui.GuiFactory"; } That about it...
January 24, 201510 yr Author Already did this before, and that didn't help... I now changed "LetsModReboot" to "letsmodreboot" in these files: -build.gradle -mcmod.info -LetsModReboot.java -Reference.java Ran Minecraft and no visible changes were made... BTW... I also tried renaming the LetsModReboot.java no changes anyways...
January 24, 201510 yr Author Sure it is on Github. Here's a link if thats what you mean: https://github.com/nikko4913/LetsModReboot I was kind of in the middle of a tutorial i was watching when this happened so some files still needs a lot of work...
January 24, 201510 yr Author I will look into that .gitignore soon. Okay, so that version line.. Should i update it to say "1.7.10-1.0" or what? Because i tried that and no changes...
January 24, 201510 yr Author Woooooooooooow..... Gooood i'm stupid... Okay so it was the comma at the end of the line.... I just ran a Minecraft and it worked perfectly. Tank you so much, hopefully this is the last time i will be bugging you with this issue...
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.