Posted May 7, 201411 yr Hi guys! I'm new to modding(like right about now) and when I launch minecraft with the IDE I keep getting this error that causes my mod to be ignored. [spoiler=error] [15:58:45] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [15:58:48] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load [15:58:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge Can someone tell me whats wrong?
May 7, 201411 yr I think the error is pretty self-explanatory. You have added code to the core packages. You should make your mod as a separate project in Eclipse. You should check out Wuppy's tutorial for setup: Check out my tutorials here: http://jabelarminecraft.blogspot.com/
May 8, 201411 yr Author I think the error is pretty self-explanatory. You have added code to the core packages. You should make your mod as a separate project in Eclipse. You should check out Wuppy's tutorial for setup: So putting the project in the src/main/java file tree is not what i should do?
May 8, 201411 yr Hi, no, try adding three more folders to look like this: src/main/java/com/yourname/modname that's the way i do it, but you could replace yourname or modname for anything. if you already have the example class, just rename that and all the files before to make it easier and start coding in there. -Pandassaurus
May 8, 201411 yr Author Hi, no, try adding three more folders to look like this: src/main/java/com/yourname/modname that's the way i do it, but you could replace yourname or modname for anything. if you already have the example class, just rename that and all the files before to make it easier and start coding in there. -Pandassaurus I have my folder structure [shadow=red,left]exactly[/shadow] like that but it still throws an error... I am using IntelliJ IDEA for mac. Would that cause a problem? This is what I have
May 9, 201411 yr Hi, no i'm also using idea in a mac. arguably the best. Anyway, there might be one thing you didn't do. This came up when i was setting up too. When you did the setupDecompWorkspace, did you remember to put idea at the end? it would look like this: gradle setupDecompWorkspace idea that's how i did it, and it worked for me: http://37.media.tumblr.com/f697a9728bc4b7c49278ffaa39e769e0/tumblr_n5a8j2z2TF1sejvuqo1_1280.png[/img] if you didn't do that, and you get it working, go into the example class, and rename everything using shift+fn+f6. that way, it's all where it's supposed to be. -Pandassaurus
May 9, 201411 yr If it is ONLY net.minecraft.src.FMLRenderAccessLibrary, ignore it, it's something we need to fix it shouldnt warn you for that as it's part of FML, but ya, if it's JUST FMLRenderAccessLibrary, ignore it. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
May 13, 201411 yr Author Hi, no i'm also using idea in a mac. arguably the best. Anyway, there might be one thing you didn't do. This came up when i was setting up too. When you did the setupDecompWorkspace, did you remember to put idea at the end? it would look like this: gradle setupDecompWorkspace idea that's how i did it, and it worked for me: http://37.media.tumblr.com/f697a9728bc4b7c49278ffaa39e769e0/tumblr_n5a8j2z2TF1sejvuqo1_1280.png[/img] if you didn't do that, and you get it working, go into the example class, and rename everything using shift+fn+f6. that way, it's all where it's supposed to be. -Pandassaurus Yup I did it exactly like that... let me try doing it again..
May 13, 201411 yr Author If it is ONLY net.minecraft.src.FMLRenderAccessLibrary, ignore it, it's something we need to fix it shouldnt warn you for that as it's part of FML, but ya, if it's JUST FMLRenderAccessLibrary, ignore it. it said that was it, but it wouldn't load the mod so i can test and see if i did it correctly... i'm gonna go get one of the latest builds and try if it works
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.